From 3e9cdd9a2f8964901aab7858759744702bbe5016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 7 Mar 2018 10:41:05 +0100 Subject: community/dateutils: clarify license and cleanup a bit Taken from https://github.com/alpinelinux/aports/pull/3458 --- community/dateutils/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'community/dateutils') diff --git a/community/dateutils/APKBUILD b/community/dateutils/APKBUILD index b7920c06c0..fd02bf1458 100644 --- a/community/dateutils/APKBUILD +++ b/community/dateutils/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Francesco Colista pkgname=dateutils pkgver=0.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="Utilities for fast date-time calculations and conversion" url="http://hroptatyr.github.com/dateutils/" arch="all" -license="BSD" +license="BSD-3-Clause" makedepends="m4 texinfo automake autoconf linux-headers" subpackages="$pkgname-doc" source="https://bitbucket.org/hroptatyr/$pkgname/downloads/$pkgname-${pkgver}.tar.xz @@ -16,7 +16,12 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ --enable-static=no make } @@ -24,8 +29,6 @@ build() { package() { cd "$builddir" make DESTDIR="$pkgdir" install - install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - sed -n '/* Copyright/,/ DAMAGE.$/p' src/dadd.c > "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="0210ad1f47aec77b8b87a520da9155430b52068e53733ef7bb26dfa10e8651f2190171537d4317adf888733e9377f961d5ed070efacd8ca18139225fa8c185ca dateutils-0.4.3.tar.xz -- cgit v1.2.3