-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
36 lines (34 loc) · 1.11 KB
/
template
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
26
27
28
29
30
31
32
33
34
35
36
# Template file for 'libgtop'
pkgname=libgtop
version=2.41.3
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--with-libgtop-smp $(vopt_enable gir introspection)"
hostmakedepends="pkg-config perl python3-distutils-extra"
makedepends="libglib-devel libXau-devel"
short_desc="Library to retrieve system information, used in GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/libgtop"
changelog="https://gitlab.gnome.org/GNOME/libgtop/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=775676df958e2ea2452f7568f28b2ea581063d312773dd5c0b7624c1b9b2da8c
# Package build options
build_options="gir"
build_options_default="gir"
libgtop-devel_package() {
depends="libglib-devel libXau-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/info
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}