blob: daa2a0bc4bdf0a43767ced549af5a4d596e697aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
_pkgname=vpk-fuse
pkgname=$_pkgname-git
_binname=vpk_fuse
pkgver=r12.4e7e4b7
pkgrel=1
pkgdesc="FUSE filesystem to read Valve VPK files."
arch=("x86_64")
url="https://github.com/ElementW/$_binname"
depends=("fuse")
source=("git+$url.git")
sha256sums=('SKIP')
license=("GPL3")
provides=( "$_pkgname" )
conflicts=( "$_pkgname" )
makedepends=("git")
pkgver() {
cd "$_binname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_binname"
make
}
package() {
install -m 755 -D "$srcdir/$_binname/$_binname" "$pkgdir/usr/bin/$_binname"
}
|