summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2015-06-13 00:23:21 -0400
committerKyle Keen2015-06-13 00:23:21 -0400
commit22293afbfd07f936a466997f96d5a029cfe6de62 (patch)
tree96e0b624d7072b4d14c8a060e4babdd5c87db355
downloadaur-22293afbfd07f936a466997f96d5a029cfe6de62.tar.gz
Initial import
-rw-r--r--.AURINFO15
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD37
-rw-r--r--xscorch.desktop10
4 files changed, 79 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..6341801d82c
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,15 @@
+pkgbase = xscorch
+ pkgdesc = A clone of the classic DOS game Scorched Earth
+ pkgver = 0.2.1
+ pkgrel = 2
+ url = http://xscorch.org
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = gtk2
+ depends = libmikmod
+ source = http://xscorch.org/releases/xscorch-0.2.1.tar.gz
+ source = xscorch.desktop
+
+pkgname = xscorch
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5d0babcef48
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = xscorch
+ pkgdesc = A clone of the classic DOS game Scorched Earth
+ pkgver = 0.2.1
+ pkgrel = 2
+ url = http://xscorch.org
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = gtk2
+ depends = libmikmod
+ source = http://xscorch.org/releases/xscorch-0.2.1.tar.gz
+ source = xscorch.desktop
+ md5sums = 9c3a08cc97242ff9a1fad010dc40d9a7
+ md5sums = 31b8021889053c13058b13c79af87d48
+
+pkgname = xscorch
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2db7c929d7e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: jsteel <mail at jsteel dot org>
+# Contributor: Gadget3000 <gadget3000 at msn dot com>
+# Contributor: arjan <arjan@archlinux.org>
+# Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
+
+pkgname=xscorch
+pkgver=0.2.1
+pkgrel=2
+pkgdesc="A clone of the classic DOS game Scorched Earth"
+depends=('gtk2' 'libmikmod')
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://xscorch.org"
+source=($url/releases/$pkgname-$pkgver.tar.gz
+ $pkgname.desktop)
+md5sums=('9c3a08cc97242ff9a1fad010dc40d9a7'
+ '31b8021889053c13058b13c79af87d48')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's|MEMCPY|MEMMOVE|' libj/jstr/str_trim.c
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -dm755 "$pkgdir/usr/share/pixmaps"
+
+ ln -s /usr/share/$pkgname/images/$pkgname-icon.xpm "$pkgdir/usr/share/pixmaps/$pkgname-icon.xpm"
+
+ mv "$pkgdir/usr/man" "$pkgdir/usr/share/"
+ rm -r "$pkgdir/usr/include"
+}
diff --git a/xscorch.desktop b/xscorch.desktop
new file mode 100644
index 00000000000..74c55f0c156
--- /dev/null
+++ b/xscorch.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=0.2.0
+Type=Application
+Encoding=UTF-8
+Name=XScorch
+Comment=A clone of the classic DOS game Scorched Earth
+Icon=xscorch-icon.xpm
+Exec=xscorch
+Terminal=false
+Categories=Application;Game;