37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Template file for 'gnome-autoar'
|
|
pkgname=gnome-autoar
|
|
version=0.4.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="automake pkg-config glib-devel"
|
|
makedepends="libarchive-devel gtk+3-devel glib-devel"
|
|
short_desc="Automatic archives creating and extracting library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://wiki.gnome.org/TingweiLan/GSoC2013Final"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=1d20694079300e12feabdb77304a969d1cc190d1d12a949be845cad01c78a5d3
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Make g-ir-scanner-qemuwrapper append this path
|
|
export GIR_EXTRA_LIBS_PATH="${wrksrc}/gnome-autoar/.libs"
|
|
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
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|