diff options
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e8e5a18ed34c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +# Generated by mksrcinfo v8 +# Wed Mar 28 21:38:39 UTC 2018 +pkgbase = compton-tryone-git + pkgdesc = tryone's patched fork of compton with kawase blur + pkgver = 0.1_beta2.95.g241bbc5 + pkgrel = 1 + url = https://github.com/tryone144/compton + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = asciidoc + makedepends = mesa + depends = libgl + depends = libdbus + depends = libxcomposite + depends = libxdamage + depends = libxrandr + depends = pcre + depends = libconfig + depends = libxinerama + depends = hicolor-icon-theme + optdepends = dbus: To control compton via D-Bus + optdepends = xorg-xwininfo: For compton-trans + optdepends = xorg-xprop: For compton-trans + provides = compton + conflicts = compton + source = git://github.com/tryone144/compton.git + md5sums = SKIP + +pkgname = compton-tryone-git + 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" +} |