upgpkg: unvpk-git r108.1f1f44f-1

upgpkg: unvpk-git r108.1f1f44f-1

formatting
This commit is contained in:
2024-03-23 20:06:35 +01:00
parent ffa9532fc9
commit 22ffc13e37
2 changed files with 10 additions and 8 deletions

View File

@@ -4,10 +4,12 @@ pkgbase = unvpk-git
pkgrel = 1 pkgrel = 1
url = https://github.com/panzi/unvpk url = https://github.com/panzi/unvpk
arch = x86_64 arch = x86_64
license = LGPL license = LGPL-2.1-or-later
makedepends = git makedepends = git
makedepends = cmake makedepends = cmake
makedepends = boost makedepends = boost
depends = glibc
depends = gcc-libs
depends = fuse depends = fuse
depends = boost-libs depends = boost-libs
provides = unvpk provides = unvpk

View File

@@ -3,19 +3,19 @@
pkgname=unvpk-git pkgname=unvpk-git
pkgver=r108.1f1f44f pkgver=r108.1f1f44f
pkgrel=1 pkgrel=1
pkgdesc="Extract Valve VPK archives" pkgdesc='Extract Valve VPK archives'
arch=(x86_64) arch=(x86_64)
url="https://github.com/panzi/unvpk" url='https://github.com/panzi/unvpk'
license=(LGPL) license=(LGPL-2.1-or-later)
depends=(fuse boost-libs) depends=(glibc gcc-libs fuse boost-libs)
makedepends=(git cmake boost) makedepends=(git cmake boost)
provides=("${pkgname%-git}") provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}") conflicts=("${pkgname%-git}")
source=("unvpk::git+https://github.com/panzi/unvpk.git") source=("unvpk::git+$url.git")
b2sums=(SKIP) b2sums=(SKIP)
pkgver() { pkgver() {
cd "$srcdir/${pkgname%-git}" cd $srcdir/${pkgname%-git}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
@@ -28,4 +28,4 @@ package() {
make -C build DESTDIR="$pkgdir" install make -C build DESTDIR="$pkgdir" install
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et