summaryrefslogtreecommitdiff
path: root/pcr/package-query/PKGBUILD
blob: 0629a6340f8e9cd7a260a96be17b2b80441bd876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor (Arch): tuxce <tuxce.net@gmail.com>
# Contributor (Arch): Skunnyk <skunnyk@archlinux.fr>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=package-query
pkgver=1.7
pkgrel=2
pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64')
url="https://github.com/archlinuxfr/package-query/"
license=('GPL')
depends=('pacman>=4.1' 'yajl>=2.0')
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('16d233dcd2b5072b808cad030fa24e61')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --localstatedir=/var --prefix=/usr --sysconfdir=/etc --with-aur-url=https://aur.archlinux.org
  make
}

package ()
{
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: