blob: bf17da2402154937f393c9c5f5a91c921af53f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
id: org.gajim.Gajim.Devel.Plugin.pgp
runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//3.38
build-extension: true
separate-locales: false
appstream-compose: false
build-options:
env:
PIP_TARGET: /app/plugins/pgp/site-packages
modules:
- name: python3-python-gnupg
buildsystem: simple
build-commands:
- pip3 install python_gnupg-0.4.6-py2.py3-none-any.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/cb/85/8a1588a04172e0853352ecfe214264c65a62ab35374d9ad9c569cf94c2a3/python_gnupg-0.4.6-py2.py3-none-any.whl
sha256: cba3566e8a8fb7bb417d6897a6e17bfc7f9371052e57eb0057783c07d762a679
- name: gajim-pgp
buildsystem: simple
build-commands:
- 'cp -R -t ${FLATPAK_DEST} *'
post-install:
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.pgp.metainfo.xml
- appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.pgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.pgp
sources:
- type: archive
url: https://ftp.gajim.org/plugins_releases/pgp_1.4.0.zip
sha256: 775164d6978692c8a82e8b15d95bc4a2f363aa64ea2a40fd8501427f6d15b0e8
- type: shell
commands:
- sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml
|