jobextra/package-query/PKGBUILD

37 lines
1009 B
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=package-query
pkgver=1.12
pkgrel=02
pkgdesc="Query ALPM and AUR"
arch=('x86_64')
groups=( jobbot )
url="https://github.com/archlinuxfr/package-query/"
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
}
#---- license gpg-key sha256sums ----
license=('GPL')
sha256sums=(0b1f08cb8397019b36ac46898d2ec1a106370f4f2895cfa5f69070aa47228301) # package-query-1.12.tar.gz