aboutsummaryrefslogtreecommitdiff
path: root/libgtop/Pkgfile
blob: 19e122f023a5e73817386598710066267de6811a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}
}