summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2016-09-04 18:26:03 +0200
committerMuflone2016-09-04 18:26:03 +0200
commit264b28a10b6954ca1165b4f9b6f4c4387740f204 (patch)
tree91dc6bd585d26e5e3387712f7f26d858113c955f /PKGBUILD
parent44d3a00b0d1546ec93bb3f465533d91bef6adb6e (diff)
downloadaur-gdevilspie.tar.gz
Updated package gdevilspie 0.5-4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 18 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ad2ce9fad52..570389b94ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,31 @@
-# Maintainer: Aelius (find me on Freenode)
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Aelius (find me on Freenode)
pkgname=gdevilspie
pkgver=0.5
-pkgrel=3
-pkgdesc="pyGTK interface to devilspie"
-arch=('i686' 'x86_64')
+pkgrel=4
+pkgdesc="An user friendly interface to devilspie window matching daemon"
+arch=('any')
url="http://code.google.com/p/gdevilspie"
license=('GPL')
depends=('pygtk' 'devilspie' 'python2-wnck' 'python2' 'python2-xdg')
makedepends=()
-source=(http://gdevilspie.googlecode.com/files/$pkgname-$pkgver.tar.bz2
- xdg_basedirectory.patch)
-md5sums=('aab8eecb47599467c65c77d3eddb2d5c'
- 'e810b4c7371874931f234d2b8836d3eb')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "xdg_basedirectory.patch")
+sha256sums=('e03ab813e56b6dc6d868db7c318d280c9864cfa6e8a4ca84a5bb5d05542f55ff'
+ 'b8d287159b14a779c4fed525d010ad4a907eacd392e9409a2c199a4350342c89')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i $srcdir/xdg_basedirectory.patch
+ cd "${pkgname}-${pkgver}"
+ patch -p1 -i "${srcdir}/xdg_basedirectory.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py build
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- python2 setup.py install --prefix $pkgdir/usr
- install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
- install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
- install -m644 -D gdevilspie.desktop $pkgdir/usr/share/xsessions/gdevilspie.desktop
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py install --optimize=1 --root "${pkgdir}"
}