PKGBUILDs/community/units/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
613 B
Bash

# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: Steve Sansom <snsansom@gmail.com>
pkgname=units
pkgver=1.87
pkgrel=3
pkgdesc="converts between different units"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/units/units.html"
depends=('readline')
license=("GPL")
options=('!makeflags')
source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
install=units.install
md5sums=('8cf47adf29e38a9aa744e8d5246d1bec')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
}
sha1sums=('106f9751fab6de4fc1fe27e735a1080262ba372a')