summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-03 00:01:39 +0000
committerroot <root@rshg054.dnsready.net>2012-07-03 00:01:39 +0000
commit20bf19bd85f0a70a575491c17aa7354c1a8fd97d (patch)
tree02df493dfd5b9a49199e90c29d552ba6c512050a /community/units/PKGBUILD
parent9d209f25af63a35774000e87df4e188057f71b2f (diff)
Tue Jul 3 00:01:39 UTC 2012
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 400bfd524..f14114da1 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')
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
}