Date: Friday, April 7, 2023 @ 05:09:24
Author: felixonmars
Revision: 1440594
archrelease: copy trunk to community-staging-any
Added:
python-xpybutil/repos/community-staging-any/
python-xpybutil/repos/community-staging-any/PKGBUILD
(from rev 1440592, python-xpybutil/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-xpybutil/repos/community-staging-any/PKGBUILD (from rev 1440592,
python-xpybutil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 05:09:24 UTC (rev 1440594)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-xpybutil
+pkgver=0.0.6
+pkgrel=5
+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
+}