aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-08 04:33:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-08 07:25:48 -0300
commit68e84d839543b256b9e36f18deb4939501c6cbcd (patch)
treebb0fa811559edcac27ba0b0910b878b0cb4f4ef1
parent7155035b6f2096543de30afe8ad25a4f017864b3 (diff)
downloadaports-68e84d839543b256b9e36f18deb4939501c6cbcd.tar.gz
aports-68e84d839543b256b9e36f18deb4939501c6cbcd.tar.bz2
aports-68e84d839543b256b9e36f18deb4939501c6cbcd.tar.xz
community/libgtop: upgrade to 2.40.0
-rw-r--r--community/libgtop/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/community/libgtop/APKBUILD b/community/libgtop/APKBUILD
index aa47016ae2..846157ca56 100644
--- a/community/libgtop/APKBUILD
+++ b/community/libgtop/APKBUILD
@@ -1,20 +1,18 @@
-# Contributor:
+# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgtop
-pkgver=2.38.0
+pkgver=2.40.0
pkgrel=0
pkgdesc="GNOME top library"
url="https://www.gnome.org/"
arch="all"
-license="LGPL"
-options="!check"
+license="LGPL-2.1-or-later"
+options="!check" # No testsuite
makedepends="intltool linux-headers glib-dev libxau-dev libx11-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -25,8 +23,13 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="96586b7f12a2b63c5ec7f69c51b6e28361a7458f24f20270fc589213bfae43ae99d1e39efb6101d189741bba084c887554f745131e99d8ed90b7db6d53c36e1d libgtop-2.38.0.tar.xz"
+tools() {
+ pkgdesc="$pkgdesc (utilities)"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/bin
+}
+
+sha512sums="a9b2135796d7e41c63a6621f672c385d1baeb74d4af3e55c9164aaaae18c66a8a76b09a6ae8b37f89f120092123c38830e0da840c6613a09035ea62339117861 libgtop-2.40.0.tar.xz"