diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-03-24 16:58:34 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-03-24 16:58:34 -0500 |
commit | 0c3b76b85d3b2513807987e90c7af2ab8dcc43e8 (patch) | |
tree | f09401f3913c092f5cd06a817f66fe721df09024 | |
parent | 068721dfc20f2746a7828dda4dec044f7045c705 (diff) | |
download | packages-0c3b76b85d3b2513807987e90c7af2ab8dcc43e8.tar.gz packages-0c3b76b85d3b2513807987e90c7af2ab8dcc43e8.tar.bz2 packages-0c3b76b85d3b2513807987e90c7af2ab8dcc43e8.tar.xz packages-0c3b76b85d3b2513807987e90c7af2ab8dcc43e8.zip |
user/libgtop: new package
-rw-r--r-- | user/libgtop/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libgtop/APKBUILD b/user/libgtop/APKBUILD new file mode 100644 index 000000000..ea17925e3 --- /dev/null +++ b/user/libgtop/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libgtop +pkgver=2.40.0 +pkgrel=0 +pkgdesc="Gnome library for system monitoring" +url="https://gnome.org" +arch="all" +license="GPL-2.0+ AND GPL-2.0-only" +depends="" +makedepends="glib-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/libgtop/${pkgver%.*}/libgtop-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="a9b2135796d7e41c63a6621f672c385d1baeb74d4af3e55c9164aaaae18c66a8a76b09a6ae8b37f89f120092123c38830e0da840c6613a09035ea62339117861 libgtop-2.40.0.tar.xz" |