summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 18 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae1d94c76a7..63666fcc34d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,30 @@
-# Maintainer: dustball
-# Contributor: Luke Arms <luke@arms.to>
+# Maintainer: Luke Arms <luke@arms.to>
+# Contributor: dustball
pkgname=quicktile-git
-pkgver=20200209
+pkgver=0.4.0
pkgrel=1
+epoch=1
url="https://github.com/ssokolow/quicktile"
-pkgdesc="Lightweight standalone alternative to Compiz Grid plugin"
+pkgdesc="Adds window-tiling hotkeys to any X11 desktop"
arch=('any')
license=('GPLv2')
-depends=('python2' 'pygtk' 'python2-xlib' 'python2-wnck' 'python2-setuptools')
-optdepends=('python2-dbus')
-makedepends=('git')
-
-_gitroot='git://github.com/ssokolow/quicktile.git'
-_gitname='quicktile'
+depends=('python' 'gtk3' 'libwnck3' 'python-gobject' 'python-xlib')
+optdepends=('python-dbus: required if you want to interact with QuickTile over D-Bus')
+makedepends=('python-setuptools')
+source=(
+ "https://github.com/ssokolow/quicktile/archive/v${pkgver}.tar.gz"
+)
+sha512sums=(
+ '4aecbd3433d28872c7c2e9a59eaf0d907a901c29bafa900f76c8f9a074450577522037d89cb6a206807df5f6086c0425da847ec6f26c88431e0bb6183b2631f2'
+)
build() {
- cd "$srcdir"
-
- msg "Cloning QuickTile from GIT"
- if [ -d "$_gitname" ]; then
- cd "$_gitname"
- git fetch &&
- git checkout legacy_gtk2 &&
- git pull || return 1
- else
- git clone -b legacy_gtk2 "$_gitroot" "$_gitname" || return 1
- fi
+ cd "$srcdir/${pkgname%-git}-$pkgver"
+ python setup.py build
}
package() {
- cd "$srcdir/$_gitname"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ cd "$srcdir/${pkgname%-git}-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}