diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2015-08-01 16:36:20 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2015-08-01 16:36:20 -0400 |
commit | e0199de4a098f6e2ac60023627ff4aa0c79108ca (patch) | |
tree | 0acb98b838e937516af84b1adb023da5ef3b1356 /pcr/compton | |
parent | 2c122e937e809399411cbb0d1524751b502a55f6 (diff) | |
download | abslibre-e0199de4a098f6e2ac60023627ff4aa0c79108ca.tar.gz abslibre-e0199de4a098f6e2ac60023627ff4aa0c79108ca.tar.bz2 abslibre-e0199de4a098f6e2ac60023627ff4aa0c79108ca.zip |
adding compton
Diffstat (limited to 'pcr/compton')
-rw-r--r-- | pcr/compton/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pcr/compton/PKGBUILD b/pcr/compton/PKGBUILD new file mode 100644 index 000000000..bf335ace7 --- /dev/null +++ b/pcr/compton/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 +# Contributor (Arch): WorMzy Tykashi <wormzy.tykashi@gmail.com> +# Contributer (Arch): OK100 <ok100 at lavabit dot com> +# Contributer (Arch): Valère Monseur <valere dot monseur at ymail dot com> + +pkgname=compton +pkgver=0.1_beta2 +pkgrel=5 +pkgdesc="X Compositor (a fork of xcompmgr-dana)" +arch=(i686 x86_64) +url="https://github.com/chjj/compton" +license=('MIT') +depends=('libgl' 'libdbus' 'libxcomposite' 'libxdamage' 'libxrandr' 'pcre' 'libconfig' 'libxinerama') +makedepends=('asciidoc' 'mesa') +optdepends=('dbus: To control compton via D-Bus' + 'xorg-xwininfo: For compton-trans' + 'xorg-xprop: For compton-trans') +source=("https://github.com/chjj/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('c3a019d90e32559d44e3a4969bcc15a15837db9c9519ce8cc70b1bd3d0cb16d29449f68cc2f6a8d834569c9620ec6533ab85c1586da957c69b1ae341d9584535') +whirlpoolsums=('39ca9718bc79d4542d73cce39bb51fc9b9c0497a30914ab044b920f72a3c2f8cbd315c5dc97c999c1f0ca798ae692ada4626f069914b6835f0c225638b486422') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # fix version + sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${pkgver}:" Makefile +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX=/usr + make docs +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX="$pkgdir/usr" install + + # install license + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # example conf + install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example" +} |