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

Paul Bredbury
Details
Message ID
<20181213202728.8715-1-brebs@sent.com>
Sender timestamp
1544732848
DKIM signature
missing
Download raw message
Patch: +30 -0
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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---