summaryrefslogtreecommitdiff
path: root/community/stella
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-29 01:32:18 -0700
committerroot <root@rshg054.dnsready.net>2013-07-29 01:32:18 -0700
commita1444f1dc2bd37f6980a4d1c341303aeb0684920 (patch)
tree2ef80bda60236bfac6d095ba7a86d441dfd0dca7 /community/stella
parent756c28ed533221b910dd7fbbe356cb9eb4fc9111 (diff)
Mon Jul 29 01:31:45 PDT 2013
Diffstat (limited to 'community/stella')
-rw-r--r--community/stella/PKGBUILD30
-rw-r--r--community/stella/stella.install11
2 files changed, 41 insertions, 0 deletions
diff --git a/community/stella/PKGBUILD b/community/stella/PKGBUILD
new file mode 100644
index 000000000..9b903cd2c
--- /dev/null
+++ b/community/stella/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
+# Contributor: Renato Garcia <fgarcia.renato@gmail.com>
+# Contributor: Tiago Camargo <tcamargo@gmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
+
+pkgname=stella
+pkgver=3.9
+pkgrel=1
+pkgdesc="A multi-platform Atari 2600 VCS emulator"
+arch=('i686' 'x86_64')
+url="http://stella.sourceforge.net"
+license=('GPL')
+depends=('sdl' 'hicolor-icon-theme' 'gtk-update-icon-cache')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-src.tar.gz)
+md5sums=('a0b1dbfef4f7b5e6ff9273c15cf4ba7d')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir"/ install
+}
diff --git a/community/stella/stella.install b/community/stella/stella.install
new file mode 100644
index 000000000..1a05f573e
--- /dev/null
+++ b/community/stella/stella.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}