void-packages/srcpkgs/gnome-autoar/template
2017-03-13 08:02:56 -06:00

30 lines
953 B
Bash

# Template file for 'gnome-autoar'
pkgname=gnome-autoar
version=0.2.1
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=f642935e9213663c114988403fba26c02e79a644b33cb0e4da0d4aec570fb1fb
# 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
}
}