summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-02 21:45:22 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-02 21:45:22 -0300
commit1f31420f313381bbb03fdc934348f5606134191c (patch)
tree217f5f6da0acef84ca46e3308eff01a57ae6baaa /community/units/PKGBUILD
parent0ca20230bdd33f8e07d2da28bec74c5e685650e9 (diff)
parent20bf19bd85f0a70a575491c17aa7354c1a8fd97d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: multilib-testing/gcc-multilib/PKGBUILD multilib/lib32-libdrm/PKGBUILD staging/mpd/PKGBUILD testing/gcc/PKGBUILD
Diffstat (limited to 'community/units/PKGBUILD')
-rw-r--r--community/units/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
index 8de405c85..1e51aa0f1 100644
--- a/community/units/PKGBUILD
+++ b/community/units/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 65347 2012-02-21 02:15:35Z spupykin $
+# $Id: PKGBUILD 73111 2012-07-01 18:55:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: Steve Sansom <snsansom@gmail.com>
pkgname=units
-pkgver=1.88
-pkgrel=4
+pkgver=2.00
+pkgrel=1
pkgdesc="converts between different units"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/units/units.html"
@@ -13,12 +13,15 @@ depends=('readline')
license=("GPL")
options=('!makeflags')
install=units.install
-source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
-md5sums=('9b2ee6e7e0e9c62741944cf33fc8a656')
+source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('6d0518d493f9bab5aa318a3c7d0801b2'
+ 'bf891464e398b0ddadac97dd7ce948c4')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --datadir=/usr/share/units
+ patch -p1 <$srcdir/build-fix.patch
+ ./configure --prefix=/usr --datadir=/usr/share
make
make DESTDIR=$pkgdir install
}