SwordArMor-gentoo-overlay/sys-apps/package-query/package-query-1.8.ebuild
2018-04-17 14:37:25 +02:00

43 lines
748 B
Bash

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit autotools autotools-utils eutils flag-o-matic
DESCRIPTION="Query ALPM and AUR"
HOMEPAGE="https://github.com/archlinuxfr/package-query/"
SRC_URI="https://mir.archlinux.fr/~tuxce/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-libs/yajl
>=sys-apps/pacman-5.0
"
RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf
}
src_configure() {
append-flags "-std=c99"
local myeconfargs=(
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--with-aur-url=https://aur.archlinux.org
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
}