[arch-commits] Commit in python-mygpoclient/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sat Apr 17 16:04:52 UTC 2021
Date: Saturday, April 17, 2021 @ 16:04:52
Author: bgyorgy
Revision: 919784
Minor changes
Modified:
python-mygpoclient/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 15:42:53 UTC (rev 919783)
+++ PKGBUILD 2021-04-17 16:04:52 UTC (rev 919784)
@@ -6,18 +6,23 @@
# Contributor: Markus Golser <elmargol at googlemail.com>
_pkgname=mygpoclient
-pkgname=python-$_pkgname
+pkgname=python-mygpoclient
pkgver=1.8
pkgrel=7
pkgdesc='Python client Library for the gpodder.net web service'
-arch=(any)
+arch=('any')
url='https://github.com/gpodder/mygpoclient'
-license=(GPL3)
-depends=(python)
-source=($pkgname-$pkgver.tar.gz::https://github.com/gpodder/$_pkgname/archive/$pkgver.tar.gz)
+license=('GPL3')
+depends=('python')
+source=("https://github.com/gpodder/$_pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2')
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
package() {
cd $_pkgname-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list