39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
_pkgname=xcb-util-renderutil
|
|
pkgname=static-compat-$_pkgname
|
|
pkgver=0.3.10
|
|
pkgrel=1
|
|
pkgdesc="Utility libraries for XC Binding - Convenience functions for the Render extension"
|
|
arch=('x86_64')
|
|
url="https://xcb.freedesktop.org"
|
|
license=('custom')
|
|
depends=('static-compat-libxcb>=1.7')
|
|
makedepends=('xorg-util-macros' 'static-compat-xorgproto' 'static-compat-configure')
|
|
options=(staticlibs)
|
|
source=(https://xorg.freedesktop.org/archive/individual/lib/${_pkgname}-${pkgver}.tar.xz{,.sig})
|
|
sha512sums=('9cfa9201be2df7c0b832e1e1fe506e7c7a1e0f2b1b1d4a4b58620eadc241190a36478fa3ea27c32047fa79bf199f17dcd0b106853dbf5eda8cd584f3fc2b0c15'
|
|
'SKIP')
|
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E')
|
|
|
|
build() {
|
|
source static-compat-environment
|
|
cd ${_pkgname}-${pkgver}
|
|
static-compat-configure --disable-shared --enable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
source static-compat-environment
|
|
cd ${_pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
source static-compat-environment
|
|
cd ${_pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|