Subject: [alpine-aports] [PATCH] testing/flameshot: new aport

From: Paul Bredbury <[email-masked]>
Date: Thu, 13 Dec 2018 20:27:28 +0000

Featureful screenshot app.
---
 testing/flameshot/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/flameshot/APKBUILD

diff --git a/testing/flameshot/APKBUILD b/testing/flameshot/APKBUILD
new file mode 100644
index 0000000000..214b6f3a6d
--- /dev/null
+++ b/testing/flameshot/APKBUILD
@@ -0,0 +1,30 @@
+pkgname=flameshot
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="Featureful screenshot app"
+url="https://github.com/lupoDharkael/flameshot"
+arch="all"
+license="GPL-3.0-or-later"
+depends="qt5-qtsvg"
+makedepends="make qt5-qtsvg-dev qt5-qttools-dev"
+subpackages="$pkgname-lang"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check" # No test suite
+langdir="/usr/share/flameshot/translations"
+
+build() {
+	cd "$builddir"
+	sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro
+
+	qmake-qt5 CONFIG+=packaging PREFIX=/usr DATADIR=/usr/share
+	make
+}
+
+package() {
+	cd "$builddir"
+	make INSTALL_ROOT="$pkgdir" install
+}
+
+
+sha512sums="194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975  flameshot-0.6.0.tar.gz"
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---