summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82e8088bdcd29bce0acf32a4387acc46caf9cc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: robertfoster
pkgname=vgui
pkgver=f5566261
pkgrel=2
pkgdesc="Half Life 1 SDK"
url="https://github.com/FWGS/vgui-dev"
license=('CUSTOM')
arch=('i686')
source=("$pkgname::git+https://github.com/FWGS/vgui-dev")

pkgver() {
        cd $srcdir/$pkgname
	git log | head -n 1 | cut -c 8-15
}

package() {
        cd $srcdir/$pkgname/
        install -Dm755 lib/vgui.so $pkgdir/usr/lib/vgui.so
	mkdir $pkgdir/usr/include
        cp -r include "$pkgdir/usr/"
}

md5sums=('SKIP')