-
Notifications
You must be signed in to change notification settings - Fork 13
/
org.nongnu.icoutils.yaml
36 lines (35 loc) · 1.22 KB
/
org.nongnu.icoutils.yaml
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
app-id: org.nongnu.icoutils
runtime: org.freedesktop.Sdk
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: icotool
finish-args:
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-pictures
modules:
- name: icoutils
sources:
- type: archive
url: http://savannah.nongnu.org/download/icoutils/icoutils-0.32.3.tar.bz2
sha256: 17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0
modules:
- name: perl-dependencies
buildsystem: simple
build-options:
env:
- PERL5LIB=/app/lib/perl5
build-commands:
- perl-libs/install.sh
post-install:
# workaround for cpanm acting silly and install files without write permission
- find /app -type f ! -perm -0200 -exec
chmod u+w '{}' \;
sources:
- perl-dependencies-sources.json
- type: shell
commands:
# fix the generated install.sh to avoid having it try to install into /usr
- sed -e 's|\(perl Makefile.PL\) \&\&|\1 INSTALL_BASE=/app \&\&|'
-e 's|\(perl Build.PL\) \&\&|\1 --install_base=/app \&\&|'
-i perl-libs/install.sh