diff options
Diffstat (limited to 'pcr/mednaffe')
-rw-r--r-- | pcr/mednaffe/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/mednaffe/mednaffe.install | 11 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pcr/mednaffe/PKGBUILD b/pcr/mednaffe/PKGBUILD new file mode 100644 index 000000000..86ff48fe5 --- /dev/null +++ b/pcr/mednaffe/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: MasterLaser <vaporeon@tfwno.gf> + +pkgname=mednaffe-gtk2 +pkgver=0.8 +pkgrel=1 +pkgdesc="front-end (GUI) for mednafen emulator" +arch=('i686' 'x86_64') +url="https://sites.google.com/site/amatcoder/mednaffe" +license=('GPL') +install=mednaffe.install +depends=('mednafen' 'gtk3') +source=(https://sites.google.com/site/amatcoder/mednaffe/downloads/mednaffe-$pkgver.tar.gz) +md5sums=('ab7c524d70170b8bba8819e71fc136e0') + +build() { + cd "$srcdir"/mednaffe-$pkgver + ./configure --prefix=/usr --enable-gtk3 + make +} + +package() { + cd "$srcdir"/mednaffe-$pkgver + make prefix="$pkgdir"/usr install +} diff --git a/pcr/mednaffe/mednaffe.install b/pcr/mednaffe/mednaffe.install new file mode 100644 index 000000000..7dfbefb2b --- /dev/null +++ b/pcr/mednaffe/mednaffe.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_remove() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} |