From 779b73af9138ae621d0bab32b6328d52068b3b91 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Mon, 3 Aug 2015 23:31:29 -0300 Subject: add mednaffe and mednaffe-gtk2 to [pcr] --- pcr/mednaffe-gtk2/PKGBUILD | 26 ++++++++++++++++++++++++++ pcr/mednaffe-gtk2/mednaffe.install | 11 +++++++++++ 2 files changed, 37 insertions(+) create mode 100644 pcr/mednaffe-gtk2/PKGBUILD create mode 100644 pcr/mednaffe-gtk2/mednaffe.install (limited to 'pcr/mednaffe-gtk2') diff --git a/pcr/mednaffe-gtk2/PKGBUILD b/pcr/mednaffe-gtk2/PKGBUILD new file mode 100644 index 000000000..67b0e9590 --- /dev/null +++ b/pcr/mednaffe-gtk2/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: MasterLaser + +pkgname=mednaffe-gtk2 +pkgver=0.8 +pkgrel=1 +pkgdesc="front-end (GUI) for mednafen emulator (GTK2 Version)" +arch=('i686' 'x86_64') +url="https://sites.google.com/site/amatcoder/mednaffe" +license=('GPL') +install=mednaffe.install +depends=('mednafen' 'gtk2') +provides=('mednaffe') +conflicts=('mednaffe') +source=(https://sites.google.com/site/amatcoder/mednaffe/downloads/mednaffe-$pkgver.tar.gz) +md5sums=('ab7c524d70170b8bba8819e71fc136e0') + +build() { + cd "$srcdir"/mednaffe-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/mednaffe-$pkgver + make prefix="$pkgdir"/usr install +} diff --git a/pcr/mednaffe-gtk2/mednaffe.install b/pcr/mednaffe-gtk2/mednaffe.install new file mode 100644 index 000000000..7dfbefb2b --- /dev/null +++ b/pcr/mednaffe-gtk2/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 +} -- cgit v1.2.3-54-g00ecf