mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-27 04:12:29 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=dateutils
|
|
pkgver=0.4.1
|
|
pkgrel=0
|
|
pkgdesc="Utilities for fast date-time calculations and conversion"
|
|
url="http://hroptatyr.github.com/dateutils/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=""
|
|
makedepends="m4 texinfo automake autoconf"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="https://bitbucket.org/hroptatyr/$pkgname/downloads/$pkgname-${pkgver}.tar.xz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static=no
|
|
make || return 1
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
md5sums="61262ed30187767b4c0130069816f777 dateutils-0.4.1.tar.xz"
|
|
sha256sums="6ccce48975fc4d3af2e27c7893e181c46ab5df1cb37e4a428b4b521a77d55278 dateutils-0.4.1.tar.xz"
|
|
sha512sums="c13461de6dad483b0014692a2319a7bf9ed1677415b8ee168131b397086f75725eb8b4e833d8b4a22f4aa726d6aca74be2597c2e07ef75a036cfea9bf67ccf1b dateutils-0.4.1.tar.xz"
|