diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-03-07 10:41:05 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-03-07 10:41:05 +0100 |
commit | 3e9cdd9a2f8964901aab7858759744702bbe5016 (patch) | |
tree | 2a6093f6642665d10fb57979075f32f5af11f0fc /community/dateutils | |
parent | eb1feb957e87bc55b2df9810f6e4356df0cde644 (diff) | |
download | aports-3e9cdd9a2f8964901aab7858759744702bbe5016.tar.bz2 aports-3e9cdd9a2f8964901aab7858759744702bbe5016.tar.xz |
community/dateutils: clarify license and cleanup a bit
Taken from https://github.com/alpinelinux/aports/pull/3458
Diffstat (limited to 'community/dateutils')
-rw-r--r-- | community/dateutils/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
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 <fcolista@alpinelinux.org> 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 |