summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Rosenstrauch2015-07-21 23:07:50 -0400
committerDavid Rosenstrauch2015-07-21 23:07:50 -0400
commit3838d4c5549a637576edf6644e354b0131b6edbf (patch)
tree19431a70bbe47f652b876eb5f6041be94bd9f4eb /PKGBUILD
downloadaur-atari-breakout.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbaff83c67f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# The original Breakout game for the old Atari 2600 game console
+
+# Contributor: David Rosenstrauch <darose@darose.net>
+pkgname=atari-breakout
+pkgver=1.0
+pkgrel=2
+pkgdesc="The original Breakout game for the old Atari 2600 game console"
+arch=('any')
+url="http://www.atariage.com/software_page.html?SoftwareLabelID=52"
+license=('unknown')
+depends=(stella)
+source=('http://www.atariage.com/2600/roms/Breakout.zip')
+md5sums=('9c90533b643db8b62aebba7958a25944')
+
+package() {
+ cd "$srcdir"
+
+ install -d $pkgdir/usr/share/$pkgname/
+ _rom_img_file=Breakout.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
+}