diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-11 19:20:11 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-11 19:20:11 -0500 |
commit | 2574d86e478780b7f332aa097b4db4a3a5e4ca30 (patch) | |
tree | c5ea5d81f1787e20a8877ed55e36db2504b20428 /~lukeshu/pngcrush/PKGBUILD | |
parent | 4e95bca59f0c5b9958ffd378be9934f7dee4f98a (diff) | |
parent | b503754d5f727f122db3affe434ab54426fb0cb9 (diff) | |
download | abslibre-2574d86e478780b7f332aa097b4db4a3a5e4ca30.tar.gz abslibre-2574d86e478780b7f332aa097b4db4a3a5e4ca30.tar.bz2 abslibre-2574d86e478780b7f332aa097b4db4a3a5e4ca30.zip |
Merge gitorious.org:lukeshu-parabola-repo/lukeshu-parabola-repo
Conflicts:
.gitignore
Diffstat (limited to '~lukeshu/pngcrush/PKGBUILD')
-rw-r--r-- | ~lukeshu/pngcrush/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/~lukeshu/pngcrush/PKGBUILD b/~lukeshu/pngcrush/PKGBUILD new file mode 100644 index 000000000..e3b477086 --- /dev/null +++ b/~lukeshu/pngcrush/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributer: HuntXu <huntxu@live.cn> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=pngcrush +pkgver=1.7.15 +pkgrel=1 +pkgdesc="A tool for optimizing the compression of PNG files" +arch=('i686' 'x86_64') +url="http://pmt.sourceforge.net/" +license=('custom') +depends=('glibc') +source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver.tar.xz + LICENSE) +md5sums=('c21cf76d187dadd4c137e894dcb593bf' + 'e6446a786d939c98fcada57f9ae6de1f') + +build() { + cd "$srcdir"/$pkgname-$pkgver + # fix for better compression + sed -i 's|TOO_FAR 4096|TOO_FAR 32767|' deflate.c + make +} + +package() { + install -Dm755 "$srcdir"/$pkgname-$pkgver/$pkgname \ + "$pkgdir"/usr/bin/$pkgname + install -Dm644 $srcdir/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |