diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-29 12:38:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-29 12:38:12 +0000 |
commit | e45ea4a697007bcebfc3c33ecbdbd0a61bc990ad (patch) | |
tree | bb2fc3de1760b7cfd576d17a9c7f8f5e0a7003bb /community | |
parent | dc9d931a1f0b5406015ed20d22c303b3cbda90c7 (diff) | |
download | aports-e45ea4a697007bcebfc3c33ecbdbd0a61bc990ad.tar.bz2 aports-e45ea4a697007bcebfc3c33ecbdbd0a61bc990ad.tar.xz |
community/libgtop: move from main
Diffstat (limited to 'community')
-rw-r--r-- | community/libgtop/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libgtop/APKBUILD b/community/libgtop/APKBUILD new file mode 100644 index 0000000000..5ff88697b3 --- /dev/null +++ b/community/libgtop/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libgtop +pkgver=2.34.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="" +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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9c47c8d6d50892857c90b4546d19da82 libgtop-2.34.0.tar.xz" +sha256sums="8d8ae39e700d1c8c0b3e1391ed10ca88e6fc14f49d175d516dab6e3313b4ee2a libgtop-2.34.0.tar.xz" +sha512sums="d9b8a34f9aedcf73e56a29cbde8a404911d04e87e4edf286720d7e16644a99a5e543605ed489fcf3a7a005ada7f5c15fef524c90e7ae0770793f1f2711959b93 libgtop-2.34.0.tar.xz" |