diff options
Diffstat (limited to 'abs/core/xcb-util-wm/PKGBUILD')
-rw-r--r-- | abs/core/xcb-util-wm/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core/xcb-util-wm/PKGBUILD b/abs/core/xcb-util-wm/PKGBUILD new file mode 100644 index 0000000..2d0af3f --- /dev/null +++ b/abs/core/xcb-util-wm/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=xcb-util-wm +pkgver=0.4.1 +pkgrel=1 +pkgdesc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM" +arch=('i686' 'x86_64') +url="http://xcb.freedesktop.org" +license=('custom') +depends=('libxcb>=1.7') +makedepends=('xorg-util-macros') +source=("http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2" + 'LICENSE') +sha256sums=('28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f' + 'ded299aa179dcf0d885bf89274a4db77a530e03f9f5e7cf1c3c4ef1d60e914b9') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -D -m644 "${srcdir}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |