Created
September 20, 2017 01:18
-
-
Save Roliga/6671c86d9c5fcb072996daf806e9ab31 to your computer and use it in GitHub Desktop.
Compton with some modifications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=compton-mod | |
_gitname=compton | |
pkgver=0.1_beta2.85.ga37cb14 | |
pkgrel=1 | |
pkgdesc="X Compositor (a fork of xcompmgr-dana) (git-version)" | |
arch=(i686 x86_64) | |
url="https://github.com/Roliga/compton" | |
license=('MIT') | |
depends=('libgl' 'libdbus' 'libxcomposite' 'libxdamage' 'libxrandr' 'pcre' 'libconfig' 'libxinerama' 'hicolor-icon-theme') | |
makedepends=('git' 'asciidoc' 'mesa') | |
optdepends=('dbus: To control compton via D-Bus' | |
'xorg-xwininfo: For compton-trans' | |
'xorg-xprop: For compton-trans') | |
provides=('compton') | |
conflicts=('compton' 'compton-git') | |
source=("git://github.com/Roliga/compton.git") | |
md5sums=("SKIP") | |
pkgver() { | |
cd "${srcdir}/${_gitname}" | |
git describe --tags | sed -e 's:v::' -e 's/-/./g' | |
} | |
build() { | |
cd "$srcdir/$_gitname" | |
make PREFIX=/usr | |
make docs | |
} | |
package() { | |
cd "$srcdir/$_gitname" | |
make PREFIX="$pkgdir/usr" install | |
# install license | |
install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$_gitname/LICENSE" | |
# example conf | |
install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment