From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/pspshrink/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/pspshrink/pspshrink.install | 19 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 community/pspshrink/PKGBUILD create mode 100644 community/pspshrink/pspshrink.install (limited to 'community/pspshrink') diff --git a/community/pspshrink/PKGBUILD b/community/pspshrink/PKGBUILD new file mode 100644 index 000000000..af5b54a16 --- /dev/null +++ b/community/pspshrink/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 67730 2012-03-14 09:57:46Z giovanni $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Angel 'angvp' Velasquez +# Contributor: Tomas Acauan Schertel + +pkgname=pspshrink +pkgver=1.1.2 +pkgrel=3 +pkgdesc="PSP Shrink allows you to shrink your isos to the cso format." +arch=('i686' 'x86_64') +url="http://code.google.com/p/pspshrink/" +license=('GPL2') +makedepends=('gtkmm') +optdepends=('gtkmm: To use pspshrinkui ') +install=$pkgname.install +source=(http://pspshrink.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('c9f7dc58c983016047ceebbacb9856e9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} diff --git a/community/pspshrink/pspshrink.install b/community/pspshrink/pspshrink.install new file mode 100644 index 000000000..f4dd28c42 --- /dev/null +++ b/community/pspshrink/pspshrink.install @@ -0,0 +1,19 @@ +post_install() +{ + echo "----------------------------------------------------------" + echo "PSP Shrink comes with a command line and a GUI version." + echo "Usage command line version:" + echo "pspshrink compressionlevel inputfile outputfile" + echo "example: pspshrink 9 image.iso image.cso" + echo "To use GUI version call pspshrinkui or go to Utility menu." + echo "----------------------------------------------------------" +} + + +post_upgrade() { + post_install +} + +op=$1 +shift +$op $* -- cgit v1.2.3-54-g00ecf