diff options
Diffstat (limited to 'libgtop/Pkgfile')
| -rw-r--r-- | libgtop/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libgtop/Pkgfile b/libgtop/Pkgfile new file mode 100644 index 0000000..19e122f --- /dev/null +++ b/libgtop/Pkgfile @@ -0,0 +1,25 @@ +# Description: A library to get system-specific data such as CPU and memory usage and information about running processes +# URL: https://developer.gnome.org/libgtop/stable/ +# Packager: Matt Housh, jaeger at crux dot ninja +# Maintainer: mac-a-r0ni, j at lngn dot net +# Depends on: gobject-introspection xorg-libxau + +name=libgtop +version=2.41.3 +release=1 +source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version:0:4}/$name-$version.tar.xz) + +build() { + cd $name-$version + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/$name \ + --disable-gtk-doc \ + --disable-nls + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/lib/*.la + rm -r $PKG/usr/share/{gtk-doc,info} +} |
