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-wm
|
|
pkgname=static-compat-$_pkgname
|
|
pkgver=0.4.2
|
|
pkgrel=1
|
|
pkgdesc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
|
|
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=('eab6588e6a47d28a3b25ecd13b5018529419db6b49c74458c093699b60a194933be1e1f6f7799abf03344f7ebc7af88586ff2935938d53644bdd5c763a7fa9b0'
|
|
'SKIP')
|
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
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"
|
|
}
|