summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122015-06-08 11:41:16 +0200
committerwillemw122015-06-08 11:41:16 +0200
commit52b583dfec27ed9c7e8644aa18275ff99cbb8bb5 (patch)
tree7d1d37271afa063172e914014f076a50636b5bff
downloadaur-52b583dfec27ed9c7e8644aa18275ff99cbb8bb5.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD29
-rw-r--r--dontwaitup-indicator-bzr.install12
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..49259c518d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = dontwaitup-indicator-bzr
+ pkgdesc = Run a command on window event
+ pkgver = r27
+ pkgrel = 1
+ url = https://launchpad.net/dontwaitup
+ install = dontwaitup-indicator-bzr.install
+ arch = any
+ license = GPL3
+ makedepends = bzr
+ makedepends = python2-distutils-extra
+ depends = gtk3
+ depends = libappindicator-gtk3
+ depends = libnotify
+ depends = libwnck3
+ depends = python2-gobject
+ depends = yelp
+ provides = dontwaitup-indicator
+ conflicts = dontwaitup-indicator
+ source = dontwaitup-indicator-bzr::bzr+https://code.launchpad.net/~alessandro-blarco/dontwaitup/trunk
+ md5sums = SKIP
+
+pkgname = dontwaitup-indicator-bzr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..78ba676ccca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: willemw <willemw12@gmail.com>
+
+_pkgname=dontwaitup-indicator
+pkgname=$_pkgname-bzr
+pkgver=r27
+pkgrel=1
+pkgdesc="Run a command on window event"
+url="https://launchpad.net/dontwaitup"
+license=('GPL3')
+arch=('any')
+depends=('gtk3' 'libappindicator-gtk3' 'libnotify' 'libwnck3' 'python2-gobject' 'yelp')
+#optdepends=('libnotify: notify-send')
+makedepends=('bzr' 'python2-distutils-extra')
+provides=($_pkgname)
+conflicts=($_pkgname)
+install=$pkgname.install
+source=($pkgname::bzr+https://code.launchpad.net/~alessandro-blarco/dontwaitup/trunk)
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ printf "r%s" "$(bzr revno)"
+}
+
+package() {
+ cd $pkgname
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
diff --git a/dontwaitup-indicator-bzr.install b/dontwaitup-indicator-bzr.install
new file mode 100644
index 00000000000..f1e02f6b2d5
--- /dev/null
+++ b/dontwaitup-indicator-bzr.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+