From 8f0af31b4a2f6b1425b342af255f0937d16336bd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 27 Jun 2023 15:05:52 +0200 Subject: Update url for python-arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- python-arg/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'python-arg') 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 } -- cgit v1.2.3-70-g09d2