summaryrefslogtreecommitdiff
path: root/community/optipng/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
committerroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
commit1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch)
tree070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/optipng/PKGBUILD
parent851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff)
Wed Nov 23 23:15:26 UTC 2011
Diffstat (limited to 'community/optipng/PKGBUILD')
-rw-r--r--community/optipng/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/optipng/PKGBUILD b/community/optipng/PKGBUILD
index 93c7a5653..86d456678 100644
--- a/community/optipng/PKGBUILD
+++ b/community/optipng/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 39226 2011-02-07 17:56:51Z shusmann $
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# $Id: PKGBUILD 59287 2011-11-22 15:27:27Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: 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'
+pkgrel=2
+pkgdesc='Compresses PNG files to a smaller size, without losing any information.'
arch=('i686' 'x86_64')
url='http://optipng.sourceforge.net/'
license=('ZLIB')
@@ -15,11 +16,13 @@ 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"
+ install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}