aboutsummaryrefslogtreecommitdiffstats
path: root/community/dateutils
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 09:37:48 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 09:37:48 +0000
commit84784cfa26ce8837a24edfcf19399348f813acfa (patch)
treeff55fe56518a307fe42cc04851765be1ce6e0356 /community/dateutils
parentdfdaff1fc2d98efeda3ca544ef93de9cff5a34c3 (diff)
downloadaports-84784cfa26ce8837a24edfcf19399348f813acfa.tar.bz2
aports-84784cfa26ce8837a24edfcf19399348f813acfa.tar.xz
community/dateutils: moved from testing, upgraded to 0.4.0
Diffstat (limited to 'community/dateutils')
-rw-r--r--community/dateutils/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/dateutils/APKBUILD b/community/dateutils/APKBUILD
new file mode 100644
index 0000000000..6084de137a
--- /dev/null
+++ b/community/dateutils/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=dateutils
+pkgver=0.4.0
+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="ede001efb7806153e9825a5cf3cf4de8 dateutils-0.4.0.tar.xz"
+sha256sums="d05af02bc60a82bdc21c0ac4779f1040f631b0a1233ed15c4f69a80d3dad23da dateutils-0.4.0.tar.xz"
+sha512sums="06aeed8cc2e8bd22584d74fccd6a9739fbed191a01d5dfb5bab48d5b059dce01d48f8b5f4b6e927e26c1ac2143d7aeed1f20f0415d1275d172f2584ef9d776a9 dateutils-0.4.0.tar.xz"