aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-27 15:05:52 +0200
committerMattias Andrée <maandree@kth.se>2023-06-27 15:05:52 +0200
commit8f0af31b4a2f6b1425b342af255f0937d16336bd (patch)
tree6654767efc1dc85a1adeaa4d7d09c92de3d5204b
parentadd dependencies for key2root (diff)
downloadaur-packages-8f0af31b4a2f6b1425b342af255f0937d16336bd.tar.gz
aur-packages-8f0af31b4a2f6b1425b342af255f0937d16336bd.tar.bz2
aur-packages-8f0af31b4a2f6b1425b342af255f0937d16336bd.tar.xz
Update url for python-arg
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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
}