[arch-commits] Commit in python-xpybutil/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 2 23:24:18 UTC 2021
Date: Thursday, December 2, 2021 @ 23:24:18
Author: foutrelis
Revision: 1062944
archrelease: copy trunk to community-staging-any
Added:
python-xpybutil/repos/community-staging-any/
python-xpybutil/repos/community-staging-any/PKGBUILD
(from rev 1062943, python-xpybutil/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-xpybutil/repos/community-staging-any/PKGBUILD (from rev 1062943, python-xpybutil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-02 23:24:18 UTC (rev 1062944)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xpybutil
+pkgver=0.0.6
+pkgrel=4
+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