summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorToasty2017-11-05 15:09:53 -0600
committerToasty2017-11-05 15:09:53 -0600
commit04dc75a7e90e85453e758f88ae4876816bd082d6 (patch)
treee42ef626f747aa44d8e5628bf1180f938473fb73 /PKGBUILD
parente1bd4c7e4e313b8c88f9bbe2415c99ccedcea044 (diff)
downloadaur-04dc75a7e90e85453e758f88ae4876816bd082d6.tar.gz
Updated to 2.9.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9adf4eb0600..75e7eee91f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,33 @@
-# Maintainer: Stephen Smith <stephen304@gmail.com>
-
+# Maintainer: Your Name <youremail@domain.com>
pkgname=caffeine
-pkgver=2.6.2
+pkgver=2.9.4
pkgrel=1
-pkgdesc="A easy way to control powersaving on your desktop."
+pkgdesc="Prevents the desktop becoming idle in full-screen mode."
arch=(any)
url="https://launchpad.net/caffeine"
-license=(GPL3)
-depends=(python-gobject python-ewmh)
-conflicts=(caffeine-bzr caffeine-ng caffeine-oneclick caffeine-systray)
+license=('GPL3')
+depends=(gtk3 python-gobject python-ewmh python-setuptools python-xlib)
+makedepends=()
+optdepends=('libappindicator-gtk3: caffeine-indicator (tray applet) support')
provides=(caffeine-bzr caffeine-ng caffeine-oneclick caffeine-systray)
+conflicts=(caffeine-bzr caffeine-ng caffeine-oneclick caffeine-systray)
replaces=(caffeine-oneclick caffeine-systray)
-options=(!emptydirs !libtool)
-source=("https://launchpad.net/caffeine/2.6/2.6/+download/caffeine_2.6.2.tar.gz")
-
-md5sums=('91d254a124d83f266470c2118592425d')
+source=("https://launchpad.net/~caffeine-developers/+archive/ubuntu/ppa/+files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('SKIP')
build() {
- cd "$srcdir"/"$pkgname"
- python setup.py build
+ cd "$srcdir"/"$pkgname"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/"$pkgname"
+ python setup.py check
}
package() {
- cd "$srcdir"/"$pkgname"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "$srcdir"/"$pkgname"
+ python setup.py install --root="$pkgdir"
+ cd "$pkgdir"
+ chmod -R +rx *
}