summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Wanders2018-10-06 00:04:35 +0200
committerTim Wanders2018-10-06 00:04:35 +0200
commit950477f2e186ae32163116c6262ba28809835828 (patch)
tree97129284732256454bbeac2e6e0387c01efab93e
downloadaur-950477f2e186ae32163116c6262ba28809835828.tar.gz
Sync with upstream
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD22
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..459a217ba5d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ut2004-gog
+ pkgdesc = an easy way to launch and install ut2004 (GOG edition)
+ pkgver = 1
+ pkgrel = 1
+ url = https://github.com/tim241/ut2004-gog
+ arch = x86_64
+ depends = bash
+ depends = awk
+ depends = sed
+ depends = curl
+ depends = wine
+ depends = winetricks
+ source = git+https://github.com/tim241/ut2004-gog.git
+ sha256sums = SKIP
+
+pkgname = ut2004-gog
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..527814b208f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=ut2004-gog
+pkgver=1
+pkgrel=1
+pkgdesc="an easy way to launch and install ut2004 (GOG edition)"
+arch=('x86_64')
+url="https://github.com/tim241/ut2004-gog"
+
+depends=('bash' 'awk' 'sed' 'curl' 'wine' 'winetricks')
+
+source=("git+https://github.com/tim241/${pkgname}.git")
+
+sha256sums=('SKIP')
+
+pkgver() {
+ git describe --always
+}
+
+package() {
+ cd "$pkgname"
+ install -D ut2004-gog "$pkgdir"/usr/bin/ut2004-gog
+ install -D ut2004-linux.tar.bz2 "$pkgdir"/opt/ut2004-gog/ut2004-linux.tar.bz2
+}