summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/freecolor/PKGBUILD33
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}"
+}
+