PKGBUILDs/aur/package-query/PKGBUILD
2012-03-12 17:03:40 -04:00

29 lines
627 B
Bash

# Contributor: tuxce <tuxce.net@gmail.com>
plugrel=1
pkgname=package-query
pkgver=1.0.1
pkgrel=1
pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64')
url="http://gitweb.archlinux.fr/package-query.git/"
license=('GPL')
depends=('pacman>=4.0' 'pacman<4.1' curl 'yajl>=2.0')
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
./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=('c7d0c242437f8efd5de41a59b7b67f8c')