summaryrefslogtreecommitdiff
path: root/user/libpng/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-23 23:17:28 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-23 23:17:28 -0600
commiteef1806995f142aaae8fb39c2bc1cf4452190ed3 (patch)
tree1cf7201ff6b02b8128de7588fe89d967b67ec029 /user/libpng/APKBUILD
parent9b02fa9cd49cbd9e031d6b8dec081dca3644ec3f (diff)
downloadpackages-eef1806995f142aaae8fb39c2bc1cf4452190ed3.tar.gz
packages-eef1806995f142aaae8fb39c2bc1cf4452190ed3.tar.bz2
packages-eef1806995f142aaae8fb39c2bc1cf4452190ed3.tar.xz
packages-eef1806995f142aaae8fb39c2bc1cf4452190ed3.zip
user/libpng: modernise
abuild will remove libtool files automatically since forever ago, so we don't need to manually remove *.la files any more.
Diffstat (limited to 'user/libpng/APKBUILD')
-rw-r--r--user/libpng/APKBUILD7
1 files changed, 0 insertions, 7 deletions
diff --git a/user/libpng/APKBUILD b/user/libpng/APKBUILD
index ec109c15a..e22885dbd 100644
--- a/user/libpng/APKBUILD
+++ b/user/libpng/APKBUILD
@@ -17,7 +17,6 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
"
prepare() {
- cd "$builddir"
gunzip -c "$srcdir"/$pkgname-$pkgver-apng.patch.gz | patch -p1
default_prepare
# libpng-fix-arm-neon.patch modifies configure.ac
@@ -25,7 +24,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,16 +35,11 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm -f "$pkgdir"/usr/lib/*.la
}
utils() {