diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-15 11:46:29 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-15 16:28:44 +0000 |
commit | 5327edf988384ee2f8c582b8e149e488d51b9fec (patch) | |
tree | 47e5b595fc71cb029182138433909fb4447e70f8 /community/libgtop/APKBUILD | |
parent | 1593bf4706c68bc2c17e35677697b73ddbcacbeb (diff) | |
download | aports-5327edf988384ee2f8c582b8e149e488d51b9fec.tar.bz2 aports-5327edf988384ee2f8c582b8e149e488d51b9fec.tar.xz |
community/libgtop: upgrade to 2.38.0
Diffstat (limited to 'community/libgtop/APKBUILD')
-rw-r--r-- | community/libgtop/APKBUILD | 35 |
1 files changed, 11 insertions, 24 deletions
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 <nenolod@dereferenced.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> 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" |