diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-03 23:31:29 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-03 23:31:29 -0300 |
commit | 779b73af9138ae621d0bab32b6328d52068b3b91 (patch) | |
tree | 7cecfdaa1815d575e2a0519eaeb8f7584f988b71 /pcr | |
parent | 4db06d2097736382b4fcd682e8b98081d3fe10bc (diff) | |
download | abslibre-779b73af9138ae621d0bab32b6328d52068b3b91.tar.gz abslibre-779b73af9138ae621d0bab32b6328d52068b3b91.tar.bz2 abslibre-779b73af9138ae621d0bab32b6328d52068b3b91.zip |
add mednaffe and mednaffe-gtk2 to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/mednaffe-gtk2/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/mednaffe-gtk2/mednaffe.install | 11 | ||||
-rw-r--r-- | pcr/mednaffe/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/mednaffe/mednaffe.install | 11 |
4 files changed, 72 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 +} 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 +} |