| author | Klaus Alexander Seistrup
<klaus@seistrup.dk> 2022-04-03 15:35:23 UTC |
| committer | Klaus Alexander Seistrup
<klaus@seistrup.dk> 2022-04-03 15:35:23 UTC |
| parent | dc7aedef573c5753441bc91ed5120765ec2f844b |
| .SRCINFO | +4 | -4 |
| PKGBUILD | +6 | -7 |
diff --git a/.SRCINFO b/.SRCINFO index 98d3bcd..14e8a2d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ pkgbase = offpunk-git pkgdesc = Fork of the command-line Gemini client AV-98 with added offline capabilities - pkgver = 1.2.r0.gc0ae6e4 + pkgver = 1.2.r31.g9707a1f pkgrel = 1 - url = https://tildegit.org/ploum/AV-98-offline + url = https://tildegit.org/ploum/offpunk arch = any license = BSD makedepends = coreutils @@ -23,8 +23,8 @@ pkgbase = offpunk-git optdepends = xsel: copies text to and from the clipboard optdepends = xdg-utils: xdg-open opens a URL in the preferred application conflicts = av-98-offline - noextract = AV-98-offline - source = git+https://tildegit.org/ploum/AV-98-offline/ + noextract = offpunk + source = git+https://tildegit.org/ploum/offpunk.git sha256sums = SKIP pkgname = offpunk-git diff --git a/PKGBUILD b/PKGBUILD index 1086f28..3186b60 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,11 +3,11 @@ pkgname='offpunk-git' _pkgname='offpunk' -pkgver=1.2.r0.gc0ae6e4 +pkgver=1.2.r31.g9707a1f pkgrel=1 pkgdesc='Fork of the command-line Gemini client AV-98 with added offline capabilities' arch=('any') -url='https://tildegit.org/ploum/AV-98-offline' +url='https://tildegit.org/ploum/offpunk' license=('BSD') depends=( 'python' @@ -33,19 +33,18 @@ optdepends=( 'xdg-utils: xdg-open opens a URL in the preferred application' ) conflicts=('av-98-offline') -source=("git+$url/") -_gitname='AV-98-offline' -noextract=("$_gitname") +source=("git+$url.git") +noextract=("$_pkgname") sha256sums=('SKIP') pkgver() { - cd "$_gitname" || exit 1 + cd "$_pkgname" || exit 1 git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' } package() { - cd "$_gitname" || exit 1 + cd "$_pkgname" || exit 1 umask 0022 python setup.py install --root="$pkgdir" --prefix='/usr' --optimize=1