~alpine/aports

1

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

Marian Buschsieweke
Details
Message ID
<20180717133727.14574-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1531834647
DKIM signature
missing
Download raw message
Patch: +24 -0
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 <marian.buschsieweke@ovgu.de>
+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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8DofZxB2O64QqaUMRXF+TOZ=MFqiqXmaLge62qeXW9LSg@mail.gmail.com>
In-Reply-To
<20180717133727.14574-1-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1539342467
DKIM signature
missing
Download raw message
Hi,

it got merged with a couple of modifications:

On Tue, Jul 17, 2018 at 3:37 PM Marian Buschsieweke <
marian.buschsieweke@ovgu.de> wrote:

> 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 <marian.buschsieweke@ovgu.de>
> +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"
>

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


> +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"
> +
>

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

Thanks!

/eo