Initial upload: unvpk-git r108.1f1f44f-1
This commit is contained in:
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
pkgbase = unvpk-git
|
||||||
|
pkgdesc = Extract Valve VPK archives
|
||||||
|
pkgver = r108.1f1f44f
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/panzi/unvpk
|
||||||
|
arch = x86_64
|
||||||
|
license = LGPL
|
||||||
|
makedepends = git
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = boost
|
||||||
|
depends = fuse
|
||||||
|
depends = boost-libs
|
||||||
|
provides = unvpk
|
||||||
|
conflicts = unvpk
|
||||||
|
source = unvpk::git+https://github.com/panzi/unvpk.git
|
||||||
|
b2sums = SKIP
|
||||||
|
|
||||||
|
pkgname = unvpk-git
|
31
PKGBUILD
Normal file
31
PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Maintainer: Giovanni Harting <539@idlegandalf.com>
|
||||||
|
|
||||||
|
pkgname=unvpk-git
|
||||||
|
pkgver=r108.1f1f44f
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Extract Valve VPK archives"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/panzi/unvpk"
|
||||||
|
license=('LGPL')
|
||||||
|
depends=('fuse' 'boost-libs')
|
||||||
|
makedepends=('git' 'cmake' 'boost')
|
||||||
|
provides=("${pkgname%-git}")
|
||||||
|
conflicts=("${pkgname%-git}")
|
||||||
|
source=("unvpk::git+https://github.com/panzi/unvpk.git")
|
||||||
|
b2sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -DCMAKE_BUILD_TYPE='None' -S "unvpk"
|
||||||
|
make -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# cd "$srcdir/${pkgname%-git}"
|
||||||
|
make -C build DESTDIR="$pkgdir" install
|
||||||
|
}
|
Reference in New Issue
Block a user