summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-26 00:04:24 -0800
committerroot <root@rshg054.dnsready.net>2013-02-26 00:04:24 -0800
commit6c56414fe7bf470adb65cbd5ece3dce77ea9c617 (patch)
tree4190641f9a1d00a142902d10b7fbc068751e3821 /community/units/PKGBUILD
parent099ae9e11de65606b67c6344d4f62fcd74f20a36 (diff)
Tue Feb 26 00:04:24 PST 2013
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
}