47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
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-git
|
|
pkgname=package-query
|
|
pkgver=1.12.r2.g9160ff6
|
|
pkgrel=02
|
|
pkgdesc="Query ALPM and AUR"
|
|
url="https://github.com/archlinuxfr/package-query"
|
|
depends=('pacman>=6.0' 'yajl>=2.0')
|
|
makedepends=(git)
|
|
conflicts=(package-query-git)
|
|
provides=(package-query)
|
|
source=('git+https://github.com/archlinuxfr/package-query.git')
|
|
|
|
pkgver () {
|
|
cd "$pkgname"
|
|
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
./autogen.sh
|
|
./configure --localstatedir=/var --prefix=/usr \
|
|
--sysconfdir=/etc --with-aur-url=https://aur.archlinux.org
|
|
make
|
|
}
|
|
|
|
package () {
|
|
cd "$pkgname"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL')
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 57ca46ab3720c9f3ca2a8f59261d222be1b669b9d823ebbaaf345c2d3d2afa41 package-query-1.12.r2.g9160ff6-02-x86_64.pkg.tar.lz
|