summaryrefslogtreecommitdiff
path: root/pcr/mednaffe-gtk2
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-gtk2
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-gtk2')
-rw-r--r--pcr/mednaffe-gtk2/PKGBUILD26
-rw-r--r--pcr/mednaffe-gtk2/mednaffe.install11
2 files changed, 37 insertions, 0 deletions
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 <vaporeon@tfwno.gf>
+
+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
+}