a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
29 lines
897 B
Bash
29 lines
897 B
Bash
# Template file for 'qt5-fsarchiver'
|
|
pkgname=qt5-fsarchiver
|
|
version=0.8.5
|
|
revision=2
|
|
_realversion=0.8.5-1
|
|
wrksrc="$pkgname"
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel liblz4-devel liblzma-devel lzo-devel libzstd-devel
|
|
libgcrypt-devel e2fsprogs-devel attr-devel"
|
|
depends="fsarchiver"
|
|
short_desc="Program to save/restore partitions, folders and MBR/GPT"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://sourceforge.net/projects/qt4-fsarchiver"
|
|
distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
|
|
checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
|
|
patch_args=-Np0
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
|
|
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
|
|
CXXFLAGS+=" -I$i"
|
|
done
|
|
fi
|
|
}
|