testing/xload: upgrade to 1.1.4

This commit is contained in:
psykose 2022-05-09 06:57:59 +00:00 committed by alice
parent e5fa18910a
commit 0e498436b6

View File

@ -1,20 +1,18 @@
# Maintainer: Taner Tas <taner76@gmail.com> # Maintainer: Taner Tas <taner76@gmail.com>
pkgname=xload pkgname=xload
pkgver="1.1.3" pkgver=1.1.4
pkgrel=0 pkgrel=0
pkgdesc="System load average display for X" pkgdesc="System load average display for X"
url="https://xorg.freedesktop.org" url="https://xorg.freedesktop.org"
arch="all" arch="all"
license="MIT" license="MIT"
depends="libintl"
makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev gettext-dev" makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev gettext-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2" source="https://www.x.org/archive/individual/app/xload-$pkgver.tar.xz"
build() { build() {
export CFLAGS="$CFLAGS -DRLOADSTUB" export CFLAGS="$CFLAGS -DRLOADSTUB"
export LIBS="$LIBS -lintl" export LIBS="$LIBS -lintl"
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
@ -27,12 +25,13 @@ build() {
} }
check() { check() {
make -C "$builddir" check make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
sha512sums="8dbc4f0cee7b30d7381be819152b27653d9b0049266e59bde2e2c972a88c4f2bdea766fc407bbdfef15d0aab30fedc756189a1048170a812853133a5094fe7a5 xload-1.1.3.tar.bz2" sha512sums="
114babe4e5a60f4713f9e4627ee0a1bbb2f1f238cb46f24c38aecff67f25e6b0f58cbd554c71095ddc2b01398adbfa379550a34c23c413db52157648028554f2 xload-1.1.4.tar.xz
"