diff options
Diffstat (limited to 'community/units/PKGBUILD')
-rw-r--r-- | community/units/PKGBUILD | 15 |
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 } |