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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 16:54:56 UTC 2020


    Date: Thursday, November 12, 2020 @ 16:54:56
  Author: foutrelis
Revision: 752079

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xpybutil/repos/community-staging-any/PKGBUILD (from rev 752077, python-xpybutil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 16:54:56 UTC (rev 752079)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xpybutil
+pkgver=0.0.6
+pkgrel=3
+pkgdesc="An incomplete xcb-util port plus some extras"
+arch=('any')
+url="https://github.com/BurntSushi/xpybutil"
+license=('custom:WTFPL')
+depends=('python-xcffib')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/xpybutil/archive/$pkgver.tar.gz")
+sha512sums=('494b1181e280613ce9f1d0ca1322a21048eacc534ec242809050f9720d429d4d490029c755d6f181e9f95a0e2f318963d794a55f81601f5ebe975618a4e9fd82')
+
+build() {
+  cd xpybutil-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd xpybutil-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm664 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+  mv "$pkgdir/usr/share/doc/"{,python-}xpybutil
+}



More information about the arch-commits mailing list