summaryrefslogtreecommitdiff
path: root/community/optipng
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/optipng
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/optipng')
-rw-r--r--community/optipng/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/optipng/PKGBUILD b/community/optipng/PKGBUILD
new file mode 100644
index 000000000..93c7a5653
--- /dev/null
+++ b/community/optipng/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 39226 2011-02-07 17:56:51Z shusmann $
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Aaron Schaefer <aaron@elasticdog.com>
+
+pkgname=optipng
+pkgver=0.6.5
+pkgrel=1
+pkgdesc='A PNG optimizer that recompresses image files to a smaller size, without losing any information'
+arch=('i686' 'x86_64')
+url='http://optipng.sourceforge.net/'
+license=('ZLIB')
+depends=('glibc')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('9df5fa7bb45ae096ed6c6e0d8dc43dc7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
+ install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}