void-packages/srcpkgs/fotoxx/template

29 lines
870 B
Bash
Raw Normal View History

# Template file for 'fotoxx'
pkgname=fotoxx
version=17.08.3
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libchamplain-devel libraw-devel"
depends="desktop-file-utils exiftool"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Free open source program for image editing and collection management"
homepage="http://www.kornelix.net/fotoxx/fotoxx.html"
license="GPL-3"
distfiles="http://www.kornelix.net/downloads/tarballs/fotoxx-${version}.tar.gz"
checksum=85c131182fd7e4f840a1f471ad2647fc23b0aa64920d7bb2a10103243d06677a
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="execinfo.h is a GNU specific header, and doesnt exist under musl.";;
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libchamplain-devel"
fi
post_install() {
rm -v ${DESTDIR}/usr/share/doc/fotoxx/{changelog.gz,copyright,fotoxx.man}
}