summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/units/PKGBUILD')
-rw-r--r--community/units/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
index 3df5af8aa..cf6b7fc64 100644
--- a/community/units/PKGBUILD
+++ b/community/units/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 84848 2013-02-25 10:40:35Z spupykin $
+# $Id: PKGBUILD 86729 2013-03-21 15:11:16Z 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.01
-pkgrel=1
+pkgrel=2
pkgdesc="converts between different units"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/units/units.html"
@@ -13,14 +13,12 @@ depends=('readline')
license=("GPL")
options=('!makeflags')
install=units.install
-source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz
- build-fix.patch)
-md5sums=('81bf85937c56fbbd04b16f2f3f9d8526'
- 'dbb20e628ce0879fe82393f585e9dab6')
+source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
+md5sums=('81bf85937c56fbbd04b16f2f3f9d8526')
build() {
cd $srcdir/$pkgname-$pkgver
-# patch -p1 <$srcdir/build-fix.patch
+ sed -i 's|/usr/bin/python|/usr/bin/python2|' units_cur
./configure --prefix=/usr --datadir=/usr/share
make
}