48 lines
1.4 KiB
Bash
48 lines
1.4 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=libpciaccess
|
|
pkgver=0.17
|
|
pkgrel=01
|
|
pkgdesc="X11 PCI access library"
|
|
arch=(x86_64)
|
|
url="https://xorg.freedesktop.org/"
|
|
depends=('glibc' 'zlib')
|
|
makedepends=('xorg-util-macros')
|
|
#options=('debug') ### uncomment this to have the debug pkg produced
|
|
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
|
|
|
|
prepare() {
|
|
mkdir build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build
|
|
}
|
|
|
|
build() {
|
|
arch-meson "$pkgname"-$pkgver build
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
install -Dm644 "$pkgname"-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('custom')
|
|
|
|
validpgpkeys=(4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E) # Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
# 8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D # "Emil Velikov <emil.l.velikov@gmail.com>"
|
|
# 995ED5C8A6138EB0961F18474C09DD83CAAA50B2) # "Adam Jackson <ajax@nwnk.net>"
|
|
|
|
sha256sums=(74283ba3c974913029e7a547496a29145b07ec51732bbb5b5c58d5025ad95b73 # libpciaccess-0.17.tar.xz
|
|
1aa158e9c6fb9108a2c38122861fe51288a8e8d733cc87e1b5ca665d23801f29) # libpciaccess-0.17.tar.xz.sig
|
|
|
|
|