aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flameshot
diff options
context:
space:
mode:
authorPaul Bredbury <brebs@sent.com>2018-12-13 20:27:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-05 09:20:48 +0000
commit06a90dc1bd25a9702b63173b5cae162f6cc80cb8 (patch)
tree0fd23a6b2472c8aa5c4da322555cc652e1294d18 /testing/flameshot
parent1e2838bc2e9c2f44619ad51b4a0b4ea76471394c (diff)
downloadaports-06a90dc1bd25a9702b63173b5cae162f6cc80cb8.tar.bz2
aports-06a90dc1bd25a9702b63173b5cae162f6cc80cb8.tar.xz
testing/flameshot: new aport
Featureful screenshot app.
Diffstat (limited to 'testing/flameshot')
-rw-r--r--testing/flameshot/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/flameshot/APKBUILD b/testing/flameshot/APKBUILD
new file mode 100644
index 0000000000..ccb8191299
--- /dev/null
+++ b/testing/flameshot/APKBUILD
@@ -0,0 +1,34 @@
+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"
+
+prepare() {
+ default_prepare
+ sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro
+}
+
+build() {
+ cd "$builddir"
+
+ 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"