PKGBUILDs/aur/package-query/PKGBUILD

27 lines
682 B
Bash
Raw Normal View History

# Contributor: tuxce <tuxce.net@gmail.com>
pkgname=package-query
2012-12-03 23:29:12 +00:00
pkgver=1.1
pkgrel=2
pkgdesc="Query ALPM and AUR"
2012-12-03 23:29:12 +00:00
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h')
url="http://gitweb.archlinux.fr/package-query.git/"
license=('GPL')
2012-01-19 02:18:37 +00:00
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"
2012-12-03 23:29:12 +00:00
./configure --localstatedir=/var --prefix=/usr --sysconfdir=/etc --with-aur-url=https://aur.archlinux.org
make
}
package ()
{
cd "$srcdir/$pkgname-$pkgver"
2011-12-07 21:48:05 +00:00
make DESTDIR="$pkgdir" install
}
2011-03-29 22:59:01 +00:00
# vim:set ts=2 sw=2 et:
2012-12-03 23:29:12 +00:00
md5sums=('becb5734dd531631cbe2e1c9cf82ae9e')