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