void-packages/srcpkgs/gnome-autoar/template

31 lines
904 B
Bash

# Template file for 'gnome-disk-utility'
pkgname=gnome-autoar
version=0.1.1
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args=""
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
makedepends="libarchive-devel gtk+3-devel glib-devel"
short_desc="Automatic archives creating and extracting library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=f65cb810b562dc038ced739fbf59739fd5df1a8e848636e21f363ded9f349ac9
# Package build options
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
gnome-autoar-devel_package() {
depends="gnome-autoar>=${version}_${revision} libarchive-devel glib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}