mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 21:18:24 +02:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=dateutils
|
|
pkgver=0.4.11
|
|
pkgrel=0
|
|
pkgdesc="Utilities for fast date-time calculations and conversion"
|
|
url="https://www.fresse.org/dateutils/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="m4 texinfo automake autoconf linux-headers"
|
|
checkdepends="diffutils tzdata"
|
|
subpackages="$pkgname-doc"
|
|
source="https://bitbucket.org/hroptatyr/dateutils/downloads/dateutils-$pkgver.tar.xz
|
|
tests.patch
|
|
"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-static=no
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check || {
|
|
cat test/test-suite.log
|
|
return 1
|
|
}
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
601fa8197acdb68fe0688aed3fa2ba2fcf66b9a8ad23a0c7cb816a2cba9c645854ec8715a2127e02294cc068f63b09d0596eee60e151a8ad0edff22f54ec9d7a dateutils-0.4.11.tar.xz
|
|
f389d7f87a4d0a27e1eeee84928bacece1fd8a677db42953bb52a21285f2aacac236abd8d07b5955d2a2b1856072eabb02429916efc60b69049cb056f486f330 tests.patch
|
|
"
|