From 5327edf988384ee2f8c582b8e149e488d51b9fec Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 15 Sep 2017 11:46:29 +0000 Subject: community/libgtop: upgrade to 2.38.0 --- community/libgtop/APKBUILD | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) (limited to 'community') diff --git a/community/libgtop/APKBUILD b/community/libgtop/APKBUILD index ba36133dc8..072dfab44d 100644 --- a/community/libgtop/APKBUILD +++ b/community/libgtop/APKBUILD @@ -1,45 +1,32 @@ # Contributor: William Pitcock # Maintainer: Natanael Copa pkgname=libgtop -pkgver=2.36.0 +pkgver=2.38.0 pkgrel=0 pkgdesc="GNOME top library" url="http://www.gnome.org/" arch="all" license="LGPL" -depends= -depends_dev="glib-dev libxau-dev libx11-dev" -makedepends="$depends_dev intltool linux-headers" -install="" +options="!check" +makedepends="intltool linux-headers glib-dev libxau-dev libx11-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz - " - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" +builddir="${srcdir}/${pkgname}-${pkgver}" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - || return 1 - make || return 1 + --enable-static=no + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="2768c628fa3e872a940246042b2c78ad4618612ecb2cf2b95fb70343a4f1a01bb558d0ce9e5b3468f395349f338ca33d460e1d91f2c123ad39243cd0ff20d5e5 libgtop-2.36.0.tar.xz" +sha512sums="96586b7f12a2b63c5ec7f69c51b6e28361a7458f24f20270fc589213bfae43ae99d1e39efb6101d189741bba084c887554f745131e99d8ed90b7db6d53c36e1d libgtop-2.38.0.tar.xz" -- cgit v1.2.3