mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
19 lines
649 B
Bash
19 lines
649 B
Bash
# Maintainer: Aaron Schaefer <aaron@elasticdog.com>
|
|
pkgname=optipng
|
|
pkgver=0.6.3
|
|
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=('6cef405197a878acff4c6216cf38e871')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver/src"
|
|
|
|
make -f scripts/gcc.mak || return 1
|
|
make -f scripts/gcc.mak prefix="$pkgdir/usr" install
|
|
install -D -m644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|