upgpkg: sbcl 2.2.5-1
[arch-packages.git] / libgtop / trunk / PKGBUILD
blobc21e1417681d51a0253a68a78208ada7a816cb9c
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libgtop
4 pkgver=2.40.0+2+g31db82ef
5 pkgrel=2
6 pkgdesc="A library for collecting system monitoring data"
7 url="https://gitlab.gnome.org/GNOME/libgtop"
8 arch=(x86_64)
9 license=(LGPL)
10 depends=(glib2 libxau)
11 makedepends=(gobject-introspection git gtk-doc)
12 _commit=31db82efced79d1ceee465d9b50da2fe6fd16482  # master
13 source=("git+https://gitlab.gnome.org/GNOME/libgtop.git#commit=$_commit")
14 sha256sums=('SKIP')
16 pkgver() {
17   cd $pkgname
18   git describe --tags | sed 's/-/+/g'
21 prepare() {
22   cd $pkgname
23   NOCONFIGURE=1 ./autogen.sh
26 build() {
27   cd $pkgname
28   ./configure --prefix=/usr --sysconfdir=/etc \
29       --localstatedir=/var --disable-static --enable-gtk-doc
30   make
33 package() {
34   cd $pkgname
35   make DESTDIR="$pkgdir" install