summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Erik Brennhagen2015-09-28 22:01:38 +0200
committerOle Erik Brennhagen2015-09-28 22:01:38 +0200
commitcebcfee08ac3cf22ac0e9367728df19a72069415 (patch)
treea6e8d3ddab2d8a8fa79185bb1f00668931356d9c /PKGBUILD
downloadaur-cebcfee08ac3cf22ac0e9367728df19a72069415.tar.gz
Initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..77167f2c5a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: oleerik <elo@tuta.io>
+# Contributor: shinnova
+
+pkgname=comptray
+pkgver=r25.1e03525
+_gitrel=0
+pkgrel=1
+pkgdesc="Compton toggle for the tray"
+arch=('any')
+url="http://github.com/oleerik/comptray"
+license=('GPL')
+depends=('python2'
+ 'gtk2'
+ 'pygtk'
+ 'compton')
+optdepends=('compton-conf: GUI configuration for Compton')
+source=("git+$url.git")
+md5sums=("SKIP")
+
+pkgver() {
+ cd $srcdir/$pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd $srcdir/$pkgname
+ install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
+}