summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302018-06-30 16:51:40 +0200
committerM0Rf302018-06-30 16:51:40 +0200
commit5a32f7892b910f24c69465d59d737d53a54a49c8 (patch)
treea99c93e5b4607dad4417ff9825f13313040ce4d1
downloadaur-5a32f7892b910f24c69465d59d737d53a54a49c8.tar.gz
lib32-vgui: first commit
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e70f79eca4a4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = lib32-vgui
+ pkgdesc = Half Life 1 SDK
+ pkgver = f5566261
+ pkgrel = 1
+ url = https://github.com/FWGS/vgui-dev
+ arch = x86_64
+ license = CUSTOM
+ source = lib32-vgui::git+https://github.com/FWGS/vgui-dev
+ md5sums = SKIP
+
+pkgname = lib32-vgui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..65831cad2e2c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: robertfoster
+
+pkgname=lib32-vgui
+pkgver=f5566261
+pkgrel=1
+pkgdesc="Half Life 1 SDK"
+url="https://github.com/FWGS/vgui-dev"
+license=('CUSTOM')
+arch=('x86_64')
+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/lib32/vgui.so
+ cp -r include "$pkgdir/usr/"
+}
+
+md5sums=('SKIP')