[arch-commits] Commit in python-i3ipc/repos (community-any community-any/PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Fri Nov 15 09:28:47 UTC 2019
Date: Friday, November 15, 2019 @ 09:28:47
Author: maximbaz
Revision: 528996
archrelease: copy trunk to community-any
Added:
python-i3ipc/repos/community-any/
python-i3ipc/repos/community-any/PKGBUILD
(from rev 528995, python-i3ipc/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-i3ipc/repos/community-any/PKGBUILD (from rev 528995, python-i3ipc/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-11-15 09:28:47 UTC (rev 528996)
@@ -0,0 +1,31 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Stick <stick at stma.is>
+
+_name=i3ipc-python
+pkgname=python-i3ipc
+pkgver=2.1.1
+pkgrel=2
+pkgdesc='An improved Python library to control i3wm'
+arch=('any')
+url="https://github.com/altdesktop/${_name}"
+license=('BSD')
+conflicts=('i3ipc-python')
+replaces=('i3ipc-python')
+depends=('python' 'python-xlib')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/altdesktop/${_name}/archive/v${pkgver}.tar.gz")
+sha256sums=('0dcd46519603ce3e52c4ae69e50efe1e7a31c03af15e0b9b639055de40daff15')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm755 -t "${pkgdir}/usr/share/doc/${pkgname}/examples" examples/*.py
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+}
+
+# vim:set ts=4 sw=4 et:
More information about the arch-commits
mailing list