void-packages/srcpkgs/gnome-autoar/template

31 lines
953 B
Bash
Raw Normal View History

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