You are not logged in.

#1 2006-02-11 16:59:18

stenico
Member
Registered: 2005-01-26
Posts: 8

Units (a units conversion program)

I noticed that this super-useful little command line units conversion program wasn't in the repositories so I made a PKGBUILD for it:

# $Id: PKGBUILD,v 1.12 2003/11/06 08:26:13 dorphell Exp $
# Maintainer: 
# Contributor: Stenico
pkgname=units
pkgver=1.85
pkgrel=1
pkgdesc="converts between different units"
url="http://www.gnu.org/software/units/units.html"
groups=
provides=
depends=
makedepends=
conflicts=
replaces=
backup=
source=(http://ftp.gnu.org/gnu/units/units-1.85.tar.gz)
md5sums=('e2856ebf1082a8ed4f83d791e5a0b90b')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Hopefully this could get put into the official repositories, its available in most other distros

Enjoy  smile

Offline

#2 2006-02-11 18:40:53

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Units (a units conversion program)

You should post it to aur. aur.archlinux.org

Offline

#3 2006-02-11 19:57:40

stenico
Member
Registered: 2005-01-26
Posts: 8

Re: Units (a units conversion program)

Now done.

Offline

#4 2006-02-26 16:55:46

fatbird
Member
From: Springboro, PA
Registered: 2005-12-20
Posts: 17

Re: Units (a units conversion program)

I just wanted to do a quick cm/ft conversion and found that Arch didn't have the units program.  A quick search of the forum found this thread.  Your PKGBUILD complied, installed, and ran perfectly.  Thanks.

Offline

Board footer

Powered by FluxBB