40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=xcb-util-image
|
|
_openbsdver=6.9
|
|
pkgver=0.4.0
|
|
pkgrel=3
|
|
pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions, provided by Xenocara"
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.xenocara.org"
|
|
license=('X11')
|
|
depends=('libxcb>=1.14' 'xcb-util>=0.4.0')
|
|
makedepends=('xenocara-util-macros')
|
|
source=(https://repo.hyperbola.info:50000/sources/xenocara-libre/$_openbsdver/lib/xcb-util-image-$pkgver.tar.lz{,.sig})
|
|
sha512sums=('20bcc19911115cc793eb7ddd71263c5ec0543576abc6cdc39710fb3063cbb6bddceb1263edc025ae9a70246f2693c824386f9f448975ba63b49c7904ed7b9295'
|
|
'SKIP')
|
|
validpgpkeys=('C92BAA713B8D53D3CAE63FC9E6974752F9704456') # André Silva
|
|
|
|
prepare() {
|
|
cd "xenocara-$_openbsdver/lib/xcb-util-image"
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd "xenocara-$_openbsdver/lib/xcb-util-image"
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "xenocara-$_openbsdver/lib/xcb-util-image"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "xenocara-$_openbsdver/lib/xcb-util-image"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|