blob: 82add178cc67ee153a185a331c8f7c089025bc95 (
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
25
26
27
28
|
# $Id: PKGBUILD 111559 2014-05-20 11:21:42Z 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.11
pkgrel=3
pkgdesc="converts between different units"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/units/units.html"
depends=('readline' 'python' 'python-unidecode')
license=("GPL")
options=('!makeflags')
install=units.install
source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
md5sums=('1d83f4e68135495aa9267b848de78dc5')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --datadir=/usr/share
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
|