aboutsummaryrefslogtreecommitdiffstats
path: root/python-arg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--python-arg/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/python-arg/PKGBUILD b/python-arg/PKGBUILD
index 79c14fb..c0db83a 100644
--- a/python-arg/PKGBUILD
+++ b/python-arg/PKGBUILD
@@ -2,32 +2,32 @@
pkgbase=python-arg
pkgname=(python-arg python2-arg)
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A simple argument parser for Python"
arch=('any')
-url="https://github.com/maandree/python-arg"
+url="https://codeberg.org/maandree/python-arg"
license=('custom:ISC')
depends=()
makedepends=(python python2)
source=($pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
-sha256sums=(1f392bf5e671de0b68d93b5ce717ec658ff944b4c88a25b640db518e76a26ae5)
+sha256sums=(4a48e68ccd1d3b48618204feb9c36744137934d515cc8f5bb98441552a72a00f)
build() {
true
}
check() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$srcdir/$pkgbase"
make check PYTHON_MAJOR=3
make check PYTHON_MAJOR=2
}
package_python-arg() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$srcdir/$pkgbase"
make DESTDIR="$pkgdir" PREFIX=/usr PYTHON_MAJOR=3 install
}
package_python2-arg() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$srcdir/$pkgbase"
make DESTDIR="$pkgdir" PREFIX=/usr PYTHON_MAJOR=2 install
}