blob: a13722785b51e6836329cca144121c24f59c5617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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' 'mips64el')
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"
}
|