summaryrefslogtreecommitdiff
path: root/community/datemath/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/datemath/PKGBUILD')
-rw-r--r--community/datemath/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/datemath/PKGBUILD b/community/datemath/PKGBUILD
index f4ce236b5..157812a04 100644
--- a/community/datemath/PKGBUILD
+++ b/community/datemath/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=datemath
pkgver=2.0.10
-pkgrel=2
+pkgrel=2.1
pkgdesc="Command line date and time math utility."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.unixwiz.net/tools/datemath.html"
license=("GPL")
depends=('glibc')
@@ -16,6 +16,7 @@ md5sums=('2c369d70a43313b71dbe3c7cc50207de')
build() {
cd $srcdir
- make || return 1
+ sed -ri 's/CFLAGS\s*=\s*.*/CFLAGS='"$CFLAGS $LDFLAGS"'/' Makefile
+ make
install -D -m755 $srcdir/datemath $pkgdir/usr/bin/datemath
}