void-packages/srcpkgs/fotoxx/template

30 lines
919 B
Bash
Raw Normal View History

# Template file for 'fotoxx'
pkgname=fotoxx
version=18.01.1
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libchamplain-devel libraw-devel"
depends="desktop-file-utils exiftool xdg-utils"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Free open source program for image editing and collection management"
homepage="https://www.kornelix.net/fotoxx/fotoxx.html"
license="GPL-3"
distfiles="https://www.kornelix.net/downloads/tarballs/fotoxx-${version}.tar.gz"
checksum=1352c1e5b35f8548412cb9db31acb644f5e3d52d1b6a1b3fae2323060981f640
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}
rm -rv ${DESTDIR}/usr/share/appdata
}