summaryrefslogtreecommitdiff
path: root/community/pspshrink
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pspshrink
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pspshrink')
-rw-r--r--community/pspshrink/PKGBUILD22
-rw-r--r--community/pspshrink/pspshrink.install19
2 files changed, 41 insertions, 0 deletions
diff --git a/community/pspshrink/PKGBUILD b/community/pspshrink/PKGBUILD
new file mode 100644
index 000000000..9b6ba9540
--- /dev/null
+++ b/community/pspshrink/PKGBUILD
@@ -0,0 +1,22 @@
+#$Id: PKGBUILD 6008 2009-11-25 09:49:07Z angvp $
+# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Tomas Acauan Schertel <tschertel@gmail.com>
+pkgname=pspshrink
+pkgver=1.1.2
+pkgrel=2
+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 || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
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 $*