summaryrefslogtreecommitdiffstats
path: root/linhes/package-query
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-01 22:33:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-01 22:33:20 (GMT)
commit73d57889d14ea1cc24e619d44902d50fd06c7f68 (patch)
tree67896f60e7bf2f33914ae8f006ec71215918ab1d /linhes/package-query
parentcaf4f7675cada41fe2c806b1ee2807efb5625913 (diff)
downloadlinhes_pkgbuild-73d57889d14ea1cc24e619d44902d50fd06c7f68.zip
linhes_pkgbuild-73d57889d14ea1cc24e619d44902d50fd06c7f68.tar.gz
linhes_pkgbuild-73d57889d14ea1cc24e619d44902d50fd06c7f68.tar.bz2
package-query: initial inclusion
Diffstat (limited to 'linhes/package-query')
-rw-r--r--linhes/package-query/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/linhes/package-query/PKGBUILD b/linhes/package-query/PKGBUILD
new file mode 100644
index 0000000..f56ace8
--- /dev/null
+++ b/linhes/package-query/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: tuxce <tuxce.net@gmail.com>
+# Contributor: Skunnyk <skunnyk@alteroot.org>
+pkgname=package-query
+pkgver=1.12
+pkgrel=1
+pkgdesc="Query ALPM and AUR"
+arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64' 'pentium4')
+url="https://github.com/archlinuxfr/package-query/"
+license=('GPL')
+depends=('pacman>=6.0' 'yajl>=2.0')
+source=(https://github.com/archlinuxfr/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+
+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:
+md5sums=('3d91612aa47bb30db5e028251089255b')