# Maintainer: Charles Milette # Maintainer: WorMzy Tykashi # Contributor: OK100 # Contributor: Valère Monseur pkgname=compton-no-blur-limit-git _gitname=compton pkgver=0.1_beta2.87.g316eac0 pkgrel=1 pkgdesc="X Compositor (a fork of xcompmgr-dana) (git-version with no artificial limit on blur size)" arch=(i686 x86_64) url="https://github.com/chjj/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') source=(git+"https://github.com/chjj/compton.git" "no-blur-limit.patch") md5sums=("SKIP" "314bafdd671821cf2ed340b866e8004d") pkgver() { cd "${srcdir}/${_gitname}" git describe --tags | sed -e 's:v::' -e 's/-/./g' } prepare() { cd "$srcdir/$_gitname" git apply ../no-blur-limit.patch } 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" }