[arch-commits] Commit in python-i3ipc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:10:02 UTC 2020
Date: Thursday, November 12, 2020 @ 17:10:01
Author: felixonmars
Revision: 752301
archrelease: copy trunk to community-staging-any
Added:
python-i3ipc/repos/community-staging-any/
python-i3ipc/repos/community-staging-any/PKGBUILD
(from rev 752299, python-i3ipc/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-i3ipc/repos/community-staging-any/PKGBUILD (from rev 752299, python-i3ipc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:10:01 UTC (rev 752301)
@@ -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.2.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=('54af180fac6e3e16c65747884ae4479f0df034c45ed02523f8300f98c99eb29e')
+
+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