summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/units/PKGBUILD')
-rw-r--r--community/units/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
index 0fb0d9ff3..ebf819493 100644
--- a/community/units/PKGBUILD
+++ b/community/units/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 73248 2012-07-04 09:22:47Z spupykin $
+# $Id: PKGBUILD 84848 2013-02-25 10:40:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: Steve Sansom <snsansom@gmail.com>
pkgname=units
-pkgver=2.00
-pkgrel=2
+pkgver=2.01
+pkgrel=1
pkgdesc="converts between different units"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/units/units.html"
@@ -15,13 +15,17 @@ options=('!makeflags')
install=units.install
source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz
build-fix.patch)
-md5sums=('6d0518d493f9bab5aa318a3c7d0801b2'
+md5sums=('81bf85937c56fbbd04b16f2f3f9d8526'
'dbb20e628ce0879fe82393f585e9dab6')
build() {
cd $srcdir/$pkgname-$pkgver
- patch -p1 <$srcdir/build-fix.patch
+# patch -p1 <$srcdir/build-fix.patch
./configure --prefix=/usr --datadir=/usr/share
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}