summaryrefslogtreecommitdiff
path: root/community/units/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/units/PKGBUILD')
-rw-r--r--community/units/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
new file mode 100644
index 000000000..7cfab5582
--- /dev/null
+++ b/community/units/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 40288 2011-02-22 18:18:55Z 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=2
+pkgdesc="converts between different units"
+arch=('i686' 'x86_64')
+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
+}