void-packages/srcpkgs/gnome-autoar/template

31 lines
953 B
Bash

# Template file for 'gnome-autoar'
pkgname=gnome-autoar
version=0.2.2
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-schemas-compile"
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="https://wiki.gnome.org/TingweiLan/GSoC2013Final"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=e1fe2c06eed30305c38bf0939c72b0e51b4716658e2663a0cf4a4bf57874ca62
# 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
}
}