summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
blob: 8de405c85f70fc0c721a6d7ac2e1e960f95605fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 65347 2012-02-21 02:15: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=1.88
pkgrel=4
pkgdesc="converts between different units"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/units/units.html"
depends=('readline')
license=("GPL")
options=('!makeflags')
install=units.install
source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
md5sums=('9b2ee6e7e0e9c62741944cf33fc8a656')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --datadir=/usr/share/units
  make
  make DESTDIR=$pkgdir install
}