diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-18 06:49:33 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-18 06:49:33 -0500 |
commit | 2e5dc88c27c5d1f187302c1df34ef5a1d143528e (patch) | |
tree | ffd3cb7f0516bf009753ecc146e161811190832e /pcr | |
parent | 85842eb9dc5d73db052cd3341e8388a14bfc237e (diff) |
freecolor: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/freecolor/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <mariusz.libera@gmail.com> +# Contributor (Arch): Vinzenz Vietzke <vinz@archlinux.us> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> +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}" +} + |