From 2e5dc88c27c5d1f187302c1df34ef5a1d143528e Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 18 May 2015 06:49:33 -0500 Subject: freecolor: add new package to [pcr] --- pcr/freecolor/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pcr/freecolor/PKGBUILD (limited to 'pcr/freecolor') diff --git a/pcr/freecolor/PKGBUILD b/pcr/freecolor/PKGBUILD new file mode 100644 index 000000000..3a6b63c5e --- /dev/null +++ b/pcr/freecolor/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor (Arch): Mariusz Libera +# Contributor (Arch): Vinzenz Vietzke +# Maintainer : Omar Vega Ramos +pkgname=freecolor +pkgver=0.8.8 +pkgrel=3 +pkgdesc="Displays free memory as a bargraph on the command line." +arch=('i686' 'x86_64') +url="http://www.rkeene.org/oss/freecolor/" +license=('GPL') +depends=('glibc') +source=(http://www.rkeene.org/files/oss/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('438ffe64a6255d61628601f18bb2d990') + +prepare() { + cd $srcdir/$pkgname-$pkgver + # fix for outdated include + sed -i '54d' freecolor.c +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --without-libstatgrab + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix="$pkgdir/usr/" install + install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}" + install -m 644 README "${pkgdir}/usr/share/doc/${pkgname}" +} + -- cgit v1.2.3