summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6128ac5ba41
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pandemic2
+ pkgdesc = Infect everyone in the world with your disease! Classic game played with flashplayerdebugger
+ pkgver = 1
+ pkgrel = 1
+ url = http://www.pandemic2.org/
+ arch = any
+ license = PROP
+ depends = flashplayer-standalone
+ provides = pandemic2
+ source = http://www.pandemic2.org//pandemic2.swf
+ md5sums = 265c1143e8d40cbdd86afad7045dc18f
+
+pkgname = pandemic2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ef0ad7a03e4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Mainintainer : Lucas Rooyakkers <lucas dot rooyakkers at pm dot me>
+pkgname=pandemic2
+pkgver=1
+pkgrel=1
+pkgdesc="Infect everyone in the world with your disease! Classic game played with flashplayerdebugger"
+arch=('any')
+url="http://www.pandemic2.org/"
+license=('PROP')
+depends=('flashplayer-standalone')
+provides=("pandemic2")
+md5sums=('265c1143e8d40cbdd86afad7045dc18f')
+source=("${url}/pandemic2.swf")
+
+prepare() {
+ echo -e "#!/usr/bin/bash\nflashplayer /usr/share/pandemic2/pandemic2.swf" > pandemic2
+}
+
+package() {
+ install -Dm755 "pandemic2" "${pkgdir}/usr/bin/pandemic2"
+ install -Dm755 "pandemic2.swf" "${pkgdir}/usr/share/${pkgname}/pandemic2.swf"
+}
+
+# vim:set ts=2 sw=2 et: