summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD33
2 files changed, 25 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1f6dc5673e1..f5d9f90ed04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,21 @@
# Generated by mksrcinfo v8
-# Thu Jan 28 02:42:56 UTC 2016
+# Sun Sep 4 16:25:35 UTC 2016
pkgbase = gdevilspie
- pkgdesc = pyGTK interface to devilspie
+ pkgdesc = An user friendly interface to devilspie window matching daemon
pkgver = 0.5
- pkgrel = 3
+ pkgrel = 4
url = http://code.google.com/p/gdevilspie
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
depends = pygtk
depends = devilspie
depends = python2-wnck
depends = python2
depends = python2-xdg
- source = http://gdevilspie.googlecode.com/files/gdevilspie-0.5.tar.bz2
+ source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gdevilspie/gdevilspie-0.5.tar.bz2
source = xdg_basedirectory.patch
- md5sums = aab8eecb47599467c65c77d3eddb2d5c
- md5sums = e810b4c7371874931f234d2b8836d3eb
+ sha256sums = e03ab813e56b6dc6d868db7c318d280c9864cfa6e8a4ca84a5bb5d05542f55ff
+ sha256sums = b8d287159b14a779c4fed525d010ad4a907eacd392e9409a2c199a4350342c89
pkgname = gdevilspie
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}"
}