summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Rosenstrauch2015-07-21 23:07:15 -0400
committerDavid Rosenstrauch2015-07-21 23:07:15 -0400
commit00e7673f7d97159bc3a0953eb3fb98c358a46525 (patch)
treedc67347a979f50d5ce348e0f803d12a031d22dee /PKGBUILD
downloadaur-atari-adventure.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1222493f8ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# The original Adventure game for the old Atari 2600 game console
+
+# Contributor: David Rosenstrauch <darose@darose.net>
+pkgname=atari-adventure
+pkgver=1.0
+pkgrel=3
+pkgdesc="The original Adventure game for the old Atari 2600 game console"
+arch=('any')
+url="http://www.atariage.com/software_page.html?SoftwareID=802"
+license=('unknown')
+depends=(stella)
+source=('http://www.atariage.com/2600/roms/Adventure.zip' 'http://www.warrenrobinett.com/adventure/adv-map1.gif')
+md5sums=('22683ccd7b7c0fb7935d1b6c30e03395' '824dc77ccf37b3ff62c72bfa41a55a9a')
+
+package() {
+ cd "$srcdir"
+
+ install -d $pkgdir/usr/share/$pkgname/
+ install -m644 adv-map1.gif $pkgdir/usr/share/$pkgname/
+ _rom_img_file=ADVNTURE.BIN
+ install -m644 $_rom_img_file $pkgdir/usr/share/$pkgname/
+ echo "#!/bin/sh" > $pkgname
+ echo stella /usr/share/$pkgname/$_rom_img_file >> $pkgname
+ install -D -m755 $pkgname $pkgdir/usr/bin/$pkgname
+}