diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ee34c13546e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Rowan Decker <rdecker@scu.edu> +# Original compton-git PKGBUILD and aur package maintained by WorMzy Tykashi <wormzy.tykashi@gmail.com> +pkgname=compton-tryone-git +_gitname=compton +pkgver=0.1_beta2.95.g241bbc5 +pkgrel=1 +pkgdesc="tryone's patched fork of compton with kawase blur" +arch=(i686 x86_64) +url="https://github.com/tryone144/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://github.com/tryone144/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" +} |