summaryrefslogtreecommitdiff
path: root/testing/xcompmgr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xcompmgr/PKGBUILD')
-rw-r--r--testing/xcompmgr/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/xcompmgr/PKGBUILD b/testing/xcompmgr/PKGBUILD
new file mode 100644
index 000000000..f9439333a
--- /dev/null
+++ b/testing/xcompmgr/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 165902 2012-09-03 10:37:05Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Leslie P. Polzer <leslie.polzer@gmx.net>
+
+pkgname=xcompmgr
+pkgver=1.1.6
+pkgrel=2
+pkgdesc="Composite Window-effects manager for X.org"
+arch=('i686' 'x86_64')
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('libxcomposite' 'libxdamage' 'libxrender' 'libxext')
+conflicts=('xapps')
+replaces=('xapps')
+source=(http://xorg.freedesktop.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2
+ fix_broken_shadows.diff)
+sha1sums=('a9cf78ea32bac51ff584115381f195566b164fe3'
+ '435f9f0ad652bdd759f822514bf1559abf119ffe')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # fix broken shadows in openbox - patch takern from https://bugs.freedesktop.org/show_bug.cgi?id=46285
+ patch -Np0 -i ${srcdir}/fix_broken_shadows.diff
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}