27 lines
882 B
Bash
27 lines
882 B
Bash
# Template file for 'imgbrd-grabber'
|
|
pkgname=imgbrd-grabber
|
|
version=5.5.2
|
|
revision=1
|
|
build_style=cmake
|
|
makedepends="qt5-script-devel qt5-multimedia-devel qt5-tools-devel
|
|
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
|
short_desc="Powerful imageboard/booru downloader"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://bionus.github.io/imgbrd-grabber"
|
|
distfiles="https://github.com/Bionus/imgbrd-grabber/archive/v${version}.tar.gz"
|
|
checksum=4dbd32639d3d114f7bd943de65abb87b2284ffb6c6959f24484e763ce21769a9
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i 's|USE_QSCINTILLA 1|USE_QSCINTILLA 0|' gui/CMakeLists.txt
|
|
sed -i 's|USE_BREAKPAD 1|USE_BREAKPAD 0|' gui/CMakeLists.txt
|
|
}
|
|
|
|
post_install() {
|
|
touch ${DESTDIR}/usr/share/Grabber/settings.ini
|
|
}
|