diff options
author | M0Rf30 | 2018-06-30 16:51:15 +0200 |
---|---|---|
committer | M0Rf30 | 2018-06-30 16:51:15 +0200 |
commit | 1625d10a7e5cd81c824943e18f0681118a60b3d1 (patch) | |
tree | df72ae04e189e094fcac26c98d176c929577eb08 | |
download | aur-1625d10a7e5cd81c824943e18f0681118a60b3d1.tar.gz |
vgui: first commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0406e244abf3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = vgui + pkgdesc = Half Life 1 SDK + pkgver = f5566261 + pkgrel = 1 + url = https://github.com/FWGS/vgui-dev + arch = i686 + license = CUSTOM + source = vgui::git+https://github.com/FWGS/vgui-dev + md5sums = SKIP + +pkgname = vgui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..77f0206c8790 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: robertfoster +pkgname=vgui +pkgver=f5566261 +pkgrel=1 +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 + cp -r include "$pkgdir/usr/" +} + +md5sums=('SKIP') |