# Maintainer: Taner Tas setvar pkgname = 'xload' setvar pkgver = ""1.1.2"" setvar pkgrel = '0' setvar pkgdesc = ""System load average display for X"" setvar url = ""https://xorg.freedesktop.org/"" setvar arch = ""all"" setvar license = ""MIT"" setvar depends = ""libintl"" setvar makedepends = ""libx11-dev libxaw-dev libxmu-dev libxt-dev gettext-dev"" setvar subpackages = ""$pkgname-doc"" setvar source = ""https://www.x.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2"" setvar options = ""!check"" proc build { export CFLAGS="$CFLAGS -DRLOADSTUB" export LIBS="$LIBS -lintl" cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-nls make } proc check { cd $builddir make check } proc package { cd $builddir make DESTDIR="$pkgdir" install } setvar sha512sums = ""9c83d26bbb135cc0f2b3ef7f25b081cda5d080dd02b1c89195b40825a7d71211965b34336c853eb455472d9748f3edf64108455584b34b81673e2548806f423d xload-1.1.2.tar.bz2""