summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormewmew2017-05-02 00:36:55 +0200
committermewmew2017-05-02 00:36:55 +0200
commitf367b4647fe6203795c4fa8ab1ce544f012e065b (patch)
tree5e4df5eef092632e0863dee206f7343a11a2b49b
downloadaur-f367b4647fe6203795c4fa8ab1ce544f012e065b.tar.gz
initial commit. it compiles. ship it!
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD28
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d037b3e7149
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = war1gus-git
+ pkgdesc = Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (git version)
+ pkgver = 2.4.1
+ pkgrel = 1
+ url = https://github.com/Wargus/war1gus
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = stratagus
+ depends = ffmpeg2theora
+ depends = cdparanoia
+ depends = timidity++
+ depends = gtk2
+ provides = war1gus=2.4.1
+ conflicts = war1gus
+ replaces = war1gus
+ source = war1gus::git://github.com/Wargus/war1gus.git
+ md5sums = SKIP
+
+pkgname = war1gus-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ef460fdc667
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=war1gus-git
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (git version)"
+arch=("i686" "x86_64")
+url="https://github.com/Wargus/war1gus"
+license=('GPL')
+depends=('stratagus' 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' )
+source=("war1gus::git://github.com/Wargus/war1gus.git")
+md5sums=('SKIP')
+provides=('war1gus=2.4.1')
+replaces=('war1gus')
+conflicts=('war1gus')
+
+build() {
+ cd $srcdir/war1gus
+ mkdir -p build
+ cd build
+
+ cmake .. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin
+ make
+}
+
+package() {
+ cd $srcdir/war1gus/build
+ make DESTDIR=${pkgdir} install
+}