PKGBUILDs/aur/package-query/PKGBUILD

30 lines
599 B
Bash
Raw Normal View History

# Contributor: tuxce <tuxce.net@gmail.com>
plugrel=1
pkgname=package-query
2010-12-22 20:36:48 +00:00
pkgver=0.5.1
pkgrel=1
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
}
2010-12-22 20:36:48 +00:00
md5sums=('22df82924a73ae707447b063ec298cbb')