[arch-commits] Commit in python-i3ipc/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:34:14 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:34:14
  Author: felixonmars
Revision: 1063147

archrelease: copy trunk to community-staging-any

Added:
  python-i3ipc/repos/community-staging-any/
  python-i3ipc/repos/community-staging-any/PKGBUILD
    (from rev 1063143, python-i3ipc/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-i3ipc/repos/community-staging-any/PKGBUILD (from rev 1063143, python-i3ipc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:34:14 UTC (rev 1063147)
@@ -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=3
+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