← recipes

Commit f7bd20b

0
plików
+0
dodanych
-0
usuniętych
@@ -1,77 +1,73 @@
1 -pkgname: astyle
2 -pkgver: '3.6.17'
3 -pkgrel: '1'
4 -pkgdesc: 'A free, fast and small automatic formatter for C, C++, C sharp, and Java source code.'
5 -url: 'https://astyle.sourceforge.net/'
6 -arch: x86_64
7 -license:
8 -- MIT
9 -
10 -depends: []
11 -makedepends: []
12 -source:
13 -- 'https://sourceforge.net/projects/astyle/files/astyle/astyle%203.6/${pkgname}-${pkgver}.tar.bz2'
14 -
15 -sha256sums:
16 -- SKIP
17 -
18 -footprint_astyle_devel: |
19 - drwxr-xr-x root/root usr/include/
20 - -rw-r--r-- root/root usr/include/astyle.h
21 -
22 -footprint_astyle_doc: |
23 - drwxr-xr-x root/root usr/share/doc/
24 - drwxr-xr-x root/root usr/share/doc/astyle/
25 - -rw-r--r-- root/root usr/share/doc/astyle/astyle.html
26 - -rw-r--r-- root/root usr/share/doc/astyle/development.html
27 - -rw-r--r-- root/root usr/share/doc/astyle/index.html
28 - -rw-r--r-- root/root usr/share/doc/astyle/install.html
29 - -rw-r--r-- root/root usr/share/doc/astyle/links.html
30 - -rw-r--r-- root/root usr/share/doc/astyle/news.html
31 - -rw-r--r-- root/root usr/share/doc/astyle/newsArchives.html
32 - -rw-r--r-- root/root usr/share/doc/astyle/notes.html
33 - -rw-r--r-- root/root usr/share/doc/astyle/notesArchives.html
34 - -rw-r--r-- root/root usr/share/doc/astyle/scripts.html
35 - -rw-r--r-- root/root usr/share/doc/astyle/subversion.html
36 - -rw-r--r-- root/root usr/share/doc/astyle/vsinstall.html
37 -
38 -footprint: |
39 - drwxr-xr-x root/root usr/
40 - drwxr-xr-x root/root usr/bin/
41 - -rwxr-xr-x root/root usr/bin/astyle
42 - drwxr-xr-x root/root usr/lib/
43 - lrwxrwxrwx root/root usr/lib/libastyle.so -> libastyle.so.3.6.13
44 - lrwxrwxrwx root/root usr/lib/libastyle.so.3 -> libastyle.so.3.6.13
45 - -rwxr-xr-x root/root usr/lib/libastyle.so.3.6.13
46 - drwxr-xr-x root/root usr/share/
47 - drwxr-xr-x root/root usr/share/licenses/
48 - drwxr-xr-x root/root usr/share/licenses/astyle/
49 - -rw-r--r-- root/root usr/share/licenses/astyle/LICENSE.md
50 -
51 -build: |
52 - cd ${pkgname}-${pkgver}/build/gcc
53 - make release shared
54 -
55 - install -Dm0755 bin/astyle ${PKGDIR}/usr/bin/astyle
56 - install -Dm0755 bin/libastyle.so.3.6.13 \
57 - ${PKGDIR}/usr/lib/libastyle.so.3.6.13
58 -
59 - ln -s libastyle.so.3.6.13 \
60 - ${PKGDIR}/usr/lib/libastyle.so.3.6.13
61 -
62 - ln -s libastyle.so.3.6.13 \
63 - ${PKGDIR}/usr/lib/libastyle.so
64 -
65 - install -Dm0644 ../../src/astyle.h -t \
66 - ${PKGDIR}/usr/include
67 -
68 - install -d ${PKGDIR}/usr/share/doc/${pkgname}
69 - for i in ../../doc/*.html; do
70 - install -m0644 $i \
71 - ${PKGDIR}/usr/share/doc/${pkgname}
72 - done
73 -
74 - install -Dm644 ./${pkgname}-${pkgver}/LICENSE.md ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.md
75 -
76 -package: |
77 - true
1 +pkgname: astyle
2 +pkgver: '3.6.17'
3 +pkgrel: '1'
4 +pkgdesc: 'A free, fast and small automatic formatter for C, C++, C sharp, and Java source code.'
5 +url: 'https://astyle.sourceforge.net/'
6 +arch: x86_64
7 +license:
8 +- MIT
9 +
10 +depends: []
11 +makedepends: []
12 +source:
13 +- 'https://sourceforge.net/projects/astyle/files/astyle/astyle%203.6/${pkgname}-${pkgver}.tar.bz2'
14 +
15 +sha256sums:
16 +- SKIP
17 +
18 +footprint_astyle_devel: |
19 + drwxr-xr-x root/root usr/include/
20 + -rw-r--r-- root/root usr/include/astyle.h
21 +
22 +footprint_astyle_doc: |
23 + drwxr-xr-x root/root usr/share/doc/
24 + drwxr-xr-x root/root usr/share/doc/astyle/
25 + -rw-r--r-- root/root usr/share/doc/astyle/astyle.html
26 + -rw-r--r-- root/root usr/share/doc/astyle/development.html
27 + -rw-r--r-- root/root usr/share/doc/astyle/index.html
28 + -rw-r--r-- root/root usr/share/doc/astyle/install.html
29 + -rw-r--r-- root/root usr/share/doc/astyle/links.html
30 + -rw-r--r-- root/root usr/share/doc/astyle/news.html
31 + -rw-r--r-- root/root usr/share/doc/astyle/newsArchives.html
32 + -rw-r--r-- root/root usr/share/doc/astyle/notes.html
33 + -rw-r--r-- root/root usr/share/doc/astyle/notesArchives.html
34 + -rw-r--r-- root/root usr/share/doc/astyle/scripts.html
35 + -rw-r--r-- root/root usr/share/doc/astyle/subversion.html
36 + -rw-r--r-- root/root usr/share/doc/astyle/vsinstall.html
37 +
38 +footprint: |
39 + drwxr-xr-x root/root usr/
40 + drwxr-xr-x root/root usr/bin/
41 + -rwxr-xr-x root/root usr/bin/astyle
42 + drwxr-xr-x root/root usr/lib/
43 + lrwxrwxrwx root/root usr/lib/libastyle.so -> libastyle.so.3.6.13
44 + lrwxrwxrwx root/root usr/lib/libastyle.so.3 -> libastyle.so.3.6.13
45 + -rwxr-xr-x root/root usr/lib/libastyle.so.3.6.13
46 + drwxr-xr-x root/root usr/share/
47 + drwxr-xr-x root/root usr/share/licenses/
48 + drwxr-xr-x root/root usr/share/licenses/astyle/
49 + -rw-r--r-- root/root usr/share/licenses/astyle/LICENSE.md
50 +
51 +build: |
52 + cd ${pkgname}-${pkgver}/build/gcc
53 + make release shared
54 +
55 + install -Dm0755 bin/astyle ${PKGDIR}/usr/bin/astyle
56 + install -Dm0755 bin/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so.3.6.13
57 +
58 + # Tworzenie właściwych symlinków do pliku .so (w tym libastyle.so.3 wymagany przez footprint)
59 + ln -sr ${PKGDIR}/usr/lib/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so.3
60 + ln -sr ${PKGDIR}/usr/lib/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so
61 +
62 + install -Dm0644 ../../src/astyle.h -t ${PKGDIR}/usr/include
63 +
64 + install -d ${PKGDIR}/usr/share/doc/${pkgname}
65 + for i in ../../doc/*.html; do
66 + install -m0644 "$i" ${PKGDIR}/usr/share/doc/${pkgname}
67 + done
68 +
69 + # Poprawiona ścieżka do pliku licencji
70 + install -Dm0644 "../../LICENSE.md" ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.md
71 +
72 +package: |
73 + true