diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 15:35:43 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 15:36:06 -0300 |
commit | 85218d8d92b58704e7ec6f5ac14e55be46e19be1 (patch) | |
tree | 624ce22a71e5451c6e0c5d2a909488181a943871 /pcr/qtile | |
parent | 875e0b3b8ff52cfcdea7df9ecf421ab0464934eb (diff) | |
download | abslibre-85218d8d92b58704e7ec6f5ac14e55be46e19be1.tar.gz abslibre-85218d8d92b58704e7ec6f5ac14e55be46e19be1.tar.bz2 abslibre-85218d8d92b58704e7ec6f5ac14e55be46e19be1.zip |
qtile: add new package to [pcr] -> https://labs.parabola.nu/issues/915
Diffstat (limited to 'pcr/qtile')
-rw-r--r-- | pcr/qtile/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/qtile/qtile.install | 12 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pcr/qtile/PKGBUILD b/pcr/qtile/PKGBUILD new file mode 100644 index 000000000..650b3865d --- /dev/null +++ b/pcr/qtile/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer (Arch): roger rogerduran at gmail + +pkgname=qtile +pkgver=0.10.3 +pkgrel=1 +pkgdesc="A full-featured, pure-Python tiling window manager." +arch=('any') +url="http://www.qtile.org" +license=('MIT') +depends=('python' 'pango' 'python-xcffib>=0.3.2' 'python-cairocffi>=0.7') +makedepends=('python-distribute') +optdepends=('python-setproctitle: change the process name to qtile') +conflicts=('qtile-git') +install=${pkgname}.install +source=("https://github.com/qtile/qtile/archive/v${pkgver}.tar.gz") +md5sums=('d3a532677ada0c093f92de62a49517fc') + +package() { + cd "$srcdir/$pkgname-$pkgver/" + # license + msg "Copying license..." + install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + msg "Copying default config..." + install -D -m 644 libqtile/resources/default_config.py $pkgdir/usr/share/doc/$pkgname/default_config.py + + msg "Copying desktop file..." + install -D -m 644 resources/qtile.desktop $pkgdir/usr/share/xsessions/qtile.desktop + + # install + msg "Running setup.py" + python setup.py install --root=${pkgdir} --prefix=/usr +} diff --git a/pcr/qtile/qtile.install b/pcr/qtile/qtile.install new file mode 100644 index 000000000..bdaf96f17 --- /dev/null +++ b/pcr/qtile/qtile.install @@ -0,0 +1,12 @@ +post_install() { + echo ">>> Qtile Example Config at" + echo ">>> /usr/share/doc/qtile/default_config.py" +} + +post_upgrade() { + echo ">>> Qtile Example Config at" + echo ">>> /usr/share/doc/qtile/default_config.py" + echo ">>> WARNING: Some config breakage on 0.10.2, look at changelog https://github.com/qtile/qtile/blob/v0.10.2/CHANGELOG#L27" +} + +# vim:set ts=2 sw=2 et: |