Subject: [alpine-aports] [PATCH] testing/gajim-plugin-omemo: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Tue, 17 Jul 2018 15:37:27 +0200

https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin
Gajim plugin for Multi-End Message and Object Encryption (OMEMO)
---
 testing/gajim-plugin-omemo/APKBUILD | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 testing/gajim-plugin-omemo/APKBUILD

diff --git a/testing/gajim-plugin-omemo/APKBUILD b/testing/gajim-plugin-omemo/APKBUILD
new file mode 100644
index 0000000000..dec8b16454
--- /dev/null
+++ b/testing/gajim-plugin-omemo/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=gajim-plugin-omemo
+_pkgname="${pkgname#gajim-plugin-}"
+pkgver=2.5.14
+pkgrel=0
+pkgdesc="Gajim plugin for Multi-End Message and Object Encryption (OMEMO)"
+url="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin"
+arch="noarch"
+license="GPL3"
+depends="gajim py3-qrcode py3-axolotl"
+makedepends="py-setuptools python3-dev"
+source="$pkgname-$pkgver.zip::https://ftp.gajim.org/plugins_releases/${_pkgname}_${pkgver}.zip"
+builddir="$srcdir"/$_pkgname
+options="!check"
+
+package() {
+	cd "$builddir"
+	rm -f CHANGELOG COPYING
+	site_pkgs="$(python3 -c 'import site; print(site.getsitepackages()[0])')"
+	mkdir -p "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname"
+	cp -r ./* "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname/"
+}
+
+sha512sums="5f084472b312cdf6f9166fa7e5852ef1e547c461899a5ad7dc71601f5807bcf0e45054e7db459a60cabf0c4504e2740b605fe2b3fdd8668fa6102bd77467f56c  gajim-plugin-omemo-2.5.14.zip"
-- 
2.18.0

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

---

From: Leonardo Arena <[email-masked]>
Date: Fri, 12 Oct 2018 13:07:47 +0200

Hi,

it got merged with a couple of modifications:

> +++ b/testing/gajim-plugin-omemo/APKBUILD

Correct license id is "GPL-3.0-or-later" or "GPL-3.0-only"  (See
https://spdx.org/licenses/)

> +source="$pkgname-$pkgver.zip::
> https://ftp.gajim.org/plugins_releases/${_pkgname}_${pkgver}.zip"

I think it's better to keep build() even if it does nothing.

Thanks!

/eo