void-packages/srcpkgs/fotoxx/template

30 lines
930 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'fotoxx'
pkgname=fotoxx
version=18.07.2
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"
short_desc="Free open source program for image editing and collection management"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.kornelix.net/fotoxx/fotoxx.html"
distfiles="https://www.kornelix.net/downloads/tarballs/fotoxx-${version}.tar.gz"
checksum=31e5bdb300abb566b92c4ed8393b0146ba8b2469b8e8a88d3d41f7036880209d
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
}