diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 09:37:48 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 09:37:48 +0000 |
commit | 84784cfa26ce8837a24edfcf19399348f813acfa (patch) | |
tree | ff55fe56518a307fe42cc04851765be1ce6e0356 | |
parent | dfdaff1fc2d98efeda3ca544ef93de9cff5a34c3 (diff) | |
download | aports-84784cfa26ce8837a24edfcf19399348f813acfa.tar.bz2 aports-84784cfa26ce8837a24edfcf19399348f813acfa.tar.xz |
community/dateutils: moved from testing, upgraded to 0.4.0
-rw-r--r-- | community/dateutils/APKBUILD (renamed from testing/dateutils/APKBUILD) | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/testing/dateutils/APKBUILD b/community/dateutils/APKBUILD index fb874d11cf..6084de137a 100644 --- a/testing/dateutils/APKBUILD +++ b/community/dateutils/APKBUILD @@ -1,31 +1,21 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=dateutils -pkgver=0.3.5 +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="" -depends_dev="" -makedepends="$depends_dev" +makedepends="m4 texinfo automake autoconf" install="" subpackages="$pkgname-doc" source="https://bitbucket.org/hroptatyr/$pkgname/downloads/$pkgname-${pkgver}.tar.xz" -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ --enable-static=no @@ -33,12 +23,12 @@ build() { } package() { - cd "$_builddir" + 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="59e47ffe041be6beb2cd8950198e4fa2 dateutils-0.3.5.tar.xz" -sha256sums="cff341d3e6394627d98cb9643b9ca1235b839037ede58983c927df4f27ee31a7 dateutils-0.3.5.tar.xz" -sha512sums="e0d732ce42551906da0c6635ac9e17aa4b12cb199e63f32355a33ded36afa2a37e05853c23716982daf6078be8b8dafb0d7c49a228876cbbafc4541c037e067a dateutils-0.3.5.tar.xz" +md5sums="ede001efb7806153e9825a5cf3cf4de8 dateutils-0.4.0.tar.xz" +sha256sums="d05af02bc60a82bdc21c0ac4779f1040f631b0a1233ed15c4f69a80d3dad23da dateutils-0.4.0.tar.xz" +sha512sums="06aeed8cc2e8bd22584d74fccd6a9739fbed191a01d5dfb5bab48d5b059dce01d48f8b5f4b6e927e26c1ac2143d7aeed1f20f0415d1275d172f2584ef9d776a9 dateutils-0.4.0.tar.xz" |