void-packages/srcpkgs/gnome-autoar/template

31 lines
953 B
Bash
Raw Normal View History

2017-03-13 15:02:56 +01:00
# Template file for 'gnome-autoar'
2016-11-09 07:30:58 +01:00
pkgname=gnome-autoar
2017-03-23 11:27:45 +01:00
version=0.2.2
2016-11-09 07:30:58 +01:00
revision=1
lib32disabled=yes
build_style=gnu-configure
2017-03-13 15:02:56 +01:00
configure_args="--disable-schemas-compile"
2016-11-09 07:30:58 +01:00
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>"
2017-03-13 15:02:56 +01:00
homepage="https://wiki.gnome.org/TingweiLan/GSoC2013Final"
license="LGPL-2.1"
2016-11-09 07:30:58 +01:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2017-03-23 11:27:45 +01:00
checksum=e1fe2c06eed30305c38bf0939c72b0e51b4716658e2663a0cf4a4bf57874ca62
2016-11-09 07:30:58 +01:00
# 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
}
}