From a1444f1dc2bd37f6980a4d1c341303aeb0684920 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Jul 2013 01:32:18 -0700 Subject: Mon Jul 29 01:31:45 PDT 2013 --- community/stella/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/stella/stella.install | 11 +++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community/stella/PKGBUILD create mode 100644 community/stella/stella.install (limited to 'community/stella') 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 +# Contributor: Renato Garcia +# Contributor: Tiago Camargo +# Contributor: Shinlun Hsieh + +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 +} -- cgit v1.2.3-54-g00ecf