From 189db0744c81f6d63a4b2832c5a5a16bae446ace Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 00:53:00 +0000 Subject: system/j*: modernise, fix metadata --- system/jfsutils/APKBUILD | 7 ++----- system/json-c/APKBUILD | 8 +------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/system/jfsutils/APKBUILD b/system/jfsutils/APKBUILD index 31cf3ee35..cf9d19a1e 100644 --- a/system/jfsutils/APKBUILD +++ b/system/jfsutils/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Teran McKinney -# Maintainer: +# Maintainer: A. Wilcox pkgname=jfsutils pkgver=1.1.15 -pkgrel=2 +pkgrel=3 pkgdesc="JFS filesystem utilities" url="http://jfs.sourceforge.net" arch="all" @@ -17,7 +17,6 @@ source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz " build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -27,12 +26,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install } diff --git a/system/json-c/APKBUILD b/system/json-c/APKBUILD index e5c44cfe8..32ee431dd 100644 --- a/system/json-c/APKBUILD +++ b/system/json-c/APKBUILD @@ -7,22 +7,18 @@ url="https://github.com/json-c/json-c/wiki" arch="all" license="MIT" depends="" -depends_dev="" -makedepends="$depends_dev autoconf automake libtool" -install="" +makedepends="autoconf automake libtool" subpackages="$pkgname-static $pkgname-dev" source="https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz fix-libdir.patch " prepare() { - cd "$builddir" default_prepare autoreconf -f -v -i } build() { - cd "$builddir" export CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable" ./configure --prefix=/usr \ --build=$CBUILD \ @@ -39,12 +35,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2