void-packages/srcpkgs/fotoxx/template
cr6git 11ee232661 fotoxx: update to 18.01.1.
Closes: #10365 [via git-merge-pr]
2018-01-03 11:27:05 +01:00

29 lines
919 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.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
}