diff options
author | Johannes Wienke | 2019-11-03 20:52:19 +0100 |
---|---|---|
committer | Johannes Wienke | 2019-11-03 20:52:19 +0100 |
commit | d0a4351bf2fc5d2015fc5fc42a9e8c7ab01f2922 (patch) | |
tree | c2aa02b7b30cf28cce3627fd6290326105a77493 | |
download | aur-d0a4351bf2fc5d2015fc5fc42a9e8c7ab01f2922.tar.gz |
Moved from packages
Dropped python 2 support.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1788f748c10b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-i3-py + pkgdesc = tools for i3 users and developers + pkgver = 0.6.5 + pkgrel = 5 + url = https://github.com/ziberna/i3-py + arch = any + license = GPL3 + license = custom:WTFPL2 + makedepends = git + makedepends = python + makedepends = python2 + depends = python + depends = i3-wm + source = python-i3-py::git+https://github.com/ziberna/i3-py#commit=27f88a616e9ecc340e7d041d3d00782f8a1964c1 + source = LICENSE::http://www.wtfpl.net/txt/copying/ + md5sums = SKIP + md5sums = 8365d07beeb5f39d87e846dca3ae7b64 + +pkgname = python-i3-py + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a1872882e44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Johannes Wienke <languitar@semipol.de> +# Contributor: Alad Wenter <alad@mailbox.org> +# Contributor: willemw <willemw12@gmail.com> +# Contributor: Anntoin Wilkinson <anntoin gmail com> + +pkgname=python-i3-py +pkgver=0.6.5 +# https://github.com/ziberna/i3-py/issues/22 +_commit=27f88a616e9ecc340e7d041d3d00782f8a1964c1 +pkgrel=5 +pkgdesc="tools for i3 users and developers" +arch=('any') +url='https://github.com/ziberna/i3-py' +license=('GPL3' 'custom:WTFPL2') +depends=('python' 'i3-wm') +makedepends=('git' 'python' 'python2') +source=("$pkgname::git+https://github.com/ziberna/i3-py#commit=$_commit" + 'LICENSE::http://www.wtfpl.net/txt/copying/') +md5sums=('SKIP' + '8365d07beeb5f39d87e846dca3ae7b64') + +build() { + cd "$pkgname" + python setup.py build +} + +package() { + cd "$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" + install -Dm644 examples/*.py -t "$pkgdir"/usr/share/"$pkgname"/examples +} + +# vim: set et sw=4 sts=4 ft=sh: |