summaryrefslogtreecommitdiff
path: root/pcr/mednaffe
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-03 23:31:29 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-03 23:31:29 -0300
commit779b73af9138ae621d0bab32b6328d52068b3b91 (patch)
tree7cecfdaa1815d575e2a0519eaeb8f7584f988b71 /pcr/mednaffe
parent4db06d2097736382b4fcd682e8b98081d3fe10bc (diff)
downloadabslibre-779b73af9138ae621d0bab32b6328d52068b3b91.tar.gz
abslibre-779b73af9138ae621d0bab32b6328d52068b3b91.tar.bz2
abslibre-779b73af9138ae621d0bab32b6328d52068b3b91.zip
add mednaffe and mednaffe-gtk2 to [pcr]
Diffstat (limited to 'pcr/mednaffe')
-rw-r--r--pcr/mednaffe/PKGBUILD24
-rw-r--r--pcr/mednaffe/mednaffe.install11
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
+}