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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 03:23:58 UTC 2019


    Date: Monday, November 4, 2019 @ 03:23:57
  Author: felixonmars
Revision: 523058

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xpybutil/repos/community-staging-any/PKGBUILD (from rev 523057, python-xpybutil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 03:23:57 UTC (rev 523058)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xpybutil
+pkgver=0.0.6
+pkgrel=2
+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