diff options
author | HurricanePootis | 2021-07-28 00:38:06 -0500 |
---|---|---|
committer | HurricanePootis | 2021-07-28 00:38:06 -0500 |
commit | 80a8c49bf4da7fffe0efad19ff69bee74a8d7a8a (patch) | |
tree | 4bd7fb0e6bcb8ea2999df7ab723baee6bb4964a5 | |
download | aur-80a8c49bf4da7fffe0efad19ff69bee74a8d7a8a.tar.gz |
v.7.6.0
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..05ff0f587cbe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = imgbrd-grabber + pkgdesc = Very customizable imageboard/booru downloader with powerful filenaming features. + pkgver = 7.6.0 + pkgrel = 1 + url = https://github.com/Bionus/imgbrd-grabber + arch = x86_64 + license = Apache + makedepends = git + makedepends = cmake + makedepends = qt5-tools + makedepends = npm + depends = qt5-multimedia + depends = qt5-declarative + depends = nodejs + optdepends = openssl: Access HTTPS sources + conflicts = imgbrd-grabber + source = git+https://github.com/Bionus/imgbrd-grabber.git#tag=v7.6.0 + source = git+https://github.com/LaurentGomila/qt-android-cmake.git + source = git+https://github.com/sakra/cotire.git + source = git+https://github.com/catchorg/Catch2.git + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + +pkgname = imgbrd-grabber diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7bd0707b370b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: HurricanePootis <hurricanepootis@protonmail.com> +pkgname=imgbrd-grabber +pkgver=7.6.0 +pkgrel=1 +pkgdesc="Very customizable imageboard/booru downloader with powerful filenaming features." +arch=('x86_64') +url="https://github.com/Bionus/imgbrd-grabber" +license=('Apache') +depends=('qt5-multimedia' 'qt5-declarative' 'nodejs') +makedepends=('git' 'cmake' 'qt5-tools' 'npm') +optdepends=('openssl: Access HTTPS sources') +conflicts=("${pkgname%-git}") +source=('git+https://github.com/Bionus/imgbrd-grabber.git#tag=v'${pkgver}'' + 'git+https://github.com/LaurentGomila/qt-android-cmake.git' + 'git+https://github.com/sakra/cotire.git' + 'git+https://github.com/catchorg/Catch2.git') +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + + +prepare() { + cd "$srcdir/${pkgname%}" + git submodule init + git config submodule.qt-android-cmake.url "$srcdir/qt-android-cmake" + git config submodule.qt-android-cmake.path "$srcdir/${pkgname%-git}/cmake/qt-android-cmake" + git config submodule.cotire.url "$srcdir/cotire" + git config submodule.cotire.path "$srcdir/${pkgname%-git}/cmake/cotire" + git config submodule.Catch2.url $srcdir/Catch2 + git config submodule.Catch2.path "$srcdir/${pkgname%-git}/tests/src/vendor/catch" + git submodule update +} + +build() { + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + "$srcdir/${pkgname%}/src" \ + -DUSE_QSCINTILLA=0 \ + -DUSE_BREAKPAD=O + make +} + +package() { + cd "$srcdir/build" + make DESTDIR="$pkgdir/" install + touch "$pkgdir/usr/share/Grabber/settings.ini" +} |