New package: imgbrd-grabber-5.5.2

Closes: #11753 [via git-merge-pr]
This commit is contained in:
SolitudeSF 2018-02-19 23:06:07 +02:00 committed by Jürgen Buchmüller
parent 685c6eea71
commit 4073e6ea7a
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# 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
}