summaryrefslogtreecommitdiff
path: root/community/stella
diff options
context:
space:
mode:
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
+}