mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/optipng: modernise
This commit is contained in:
parent
3f7243ea9f
commit
7be1b1f258
@ -5,7 +5,7 @@ pkgrel=2
|
||||
pkgdesc="Compresses PNG files to a smaller size, without losing any information."
|
||||
url="http://optipng.sourceforge.net/"
|
||||
arch="all"
|
||||
license="zlib"
|
||||
license="Zlib"
|
||||
makedepends="libpng-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||
@ -27,10 +27,10 @@ check() {
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install || return 1
|
||||
make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
|
||||
|
||||
# install license
|
||||
install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
|
||||
install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
sha512sums="d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 optipng-0.7.6.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user