mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/dateutils: clarify license and cleanup a bit
Taken from https://github.com/alpinelinux/aports/pull/3458
This commit is contained in:
parent
eb1feb957e
commit
3e9cdd9a2f
@ -2,11 +2,11 @@
|
|||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=dateutils
|
pkgname=dateutils
|
||||||
pkgver=0.4.3
|
pkgver=0.4.3
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Utilities for fast date-time calculations and conversion"
|
pkgdesc="Utilities for fast date-time calculations and conversion"
|
||||||
url="http://hroptatyr.github.com/dateutils/"
|
url="http://hroptatyr.github.com/dateutils/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD"
|
license="BSD-3-Clause"
|
||||||
makedepends="m4 texinfo automake autoconf linux-headers"
|
makedepends="m4 texinfo automake autoconf linux-headers"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://bitbucket.org/hroptatyr/$pkgname/downloads/$pkgname-${pkgver}.tar.xz
|
source="https://bitbucket.org/hroptatyr/$pkgname/downloads/$pkgname-${pkgver}.tar.xz
|
||||||
@ -16,7 +16,12 @@ builddir="$srcdir/$pkgname-$pkgver"
|
|||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
./configure \
|
./configure \
|
||||||
|
--build=$CBUILD \
|
||||||
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--localstatedir=/var \
|
||||||
--enable-static=no
|
--enable-static=no
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@ -24,8 +29,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
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
|
sha512sums="0210ad1f47aec77b8b87a520da9155430b52068e53733ef7bb26dfa10e8651f2190171537d4317adf888733e9377f961d5ed070efacd8ca18139225fa8c185ca dateutils-0.4.3.tar.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user