PKGBUILDs/community/package-query/PKGBUILD

32 lines
677 B
Bash
Raw Normal View History

# Contributor: tuxce <tuxce.net@gmail.com>
# No Plugbox changes, straight from AUR, yaourt depends on this.
pkgname=package-query
pkgver=0.5
pkgrel=3
pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64')
url="http://gitweb.archlinux.fr/package-query.git/"
license=('GPL')
depends=('pacman>=3.4' curl yajl)
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --localstatedir=/var --prefix=/usr \
--sysconfdir=/etc
make
}
package ()
{
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
md5sums=('5dd7f4aa61b6e8bd9d8dcadd9a26c039')