GitHubのミラーです
https://github.com/FascodeNet/alterlinux-calamares
Revisión | ad33b3b0041c66711f317905ad06010057466fc2 (tree) |
---|---|
Tiempo | 2020-02-20 06:59:24 |
Autor | lap1sid <yukir0dev@gmai...> |
Commiter | lap1sid |
[Both] Moved PKGBUILD and Added SVG Icon
@@ -1,75 +0,0 @@ | ||
1 | -# Maintainer: SereneTeam | |
2 | - | |
3 | -pkgname=alterlinux-calamares | |
4 | -pkgver=3.2.18 | |
5 | -pkgrel=2 | |
6 | -# _commit=178a11a695a3b38f14285df8f1fd41ea8cfdb03f | |
7 | -pkgdesc='Distribution-independent installer framework' | |
8 | -arch=('i686' 'x86_64') | |
9 | -license=(GPL) | |
10 | -url="https://github.com/SereneTeam/alterlinux-calamares" | |
11 | -license=('LGPL') | |
12 | -depends=('kconfig' 'kcoreaddons' 'kiconthemes' 'ki18n' 'kio' 'solid' 'yaml-cpp' 'kpmcore' | |
13 | - 'boost-libs' 'hwinfo' 'qt5-svg' 'polkit-qt5' 'gtk-update-icon-cache' 'plasma-framework' | |
14 | - 'qt5-xmlpatterns' 'squashfs-tools') # 'pythonqt>=3.2') | |
15 | -makedepends=('extra-cmake-modules' 'qt5-tools' 'qt5-translations' 'git' 'boost') | |
16 | -backup=('usr/share/calamares/modules/bootloader.conf' | |
17 | - 'usr/share/calamares/modules/displaymanager.conf' | |
18 | - 'usr/share/calamares/modules/initcpio.conf' | |
19 | - 'usr/share/calamares/modules/unpackfs.conf') | |
20 | - | |
21 | -source+=("$url/archive/$pkgver-$pkgrel.tar.gz") | |
22 | -#source+=("$url/archive/&pkgver.tar.gz") | |
23 | - | |
24 | -sha256sums=('SKIP') | |
25 | - | |
26 | -prepare() { | |
27 | - mv ${srcdir}/${pkgname}-${pkgver}-${pkgrel} ${srcdir}/${pkgname}-${pkgver} | |
28 | - cd ${srcdir}/${pkgname}-${pkgver} | |
29 | - sed -i -e 's/"Install configuration files" OFF/"Install configuration files" ON/' CMakeLists.txt | |
30 | - | |
31 | - # patches here | |
32 | - | |
33 | - # # change version | |
34 | - # _ver="$(cat CMakeLists.txt | grep -m3 -e " VERSION" | grep -o "[[:digit:]]*" | xargs | sed s'/ /./g')" | |
35 | - # printf 'Version: %s-%s' "${_ver}" "${pkgrel}" | |
36 | - # sed -i -e "s|\${CALAMARES_VERSION_MAJOR}.\${CALAMARES_VERSION_MINOR}.\${CALAMARES_VERSION_PATCH}|${_ver}-${pkgrel}|g" CMakeLists.txt | |
37 | - # sed -i -e "s|CALAMARES_VERSION_RC 1|CALAMARES_VERSION_RC 0|g" CMakeLists.txt | |
38 | - | |
39 | - # change branding | |
40 | - sed -i -e "s/default/alter/g" src/branding/CMakeLists.txt | |
41 | -} | |
42 | - | |
43 | -build() { | |
44 | - cd ${srcdir}/${pkgname}-${pkgver} | |
45 | - | |
46 | - mkdir -p build | |
47 | - cd build | |
48 | - cmake .. \ | |
49 | - -DCMAKE_BUILD_TYPE=Debug \ | |
50 | - -DCMAKE_INSTALL_PREFIX=/usr \ | |
51 | - -DCMAKE_INSTALL_LIBDIR=lib \ | |
52 | - -DWITH_PYTHONQT:BOOL=ON \ | |
53 | - -DBoost_NO_BOOST_CMAKE=ON \ | |
54 | - -DSKIP_MODULES="tracking webview interactiveterminal initramfs \ | |
55 | - initramfscfg dracut dracutlukscfg \ | |
56 | - dummyprocess dummypython dummycpp \ | |
57 | - dummypythonqt services-openrc" | |
58 | - make | |
59 | -} | |
60 | - | |
61 | -package() { | |
62 | - cd ${srcdir}/${pkgname}-${pkgver}/build | |
63 | - make DESTDIR="$pkgdir" install | |
64 | - install -Dm644 "../data/alter-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/calamares.svg" | |
65 | - install -Dm644 "../data/calamares.desktop" "$pkgdir/usr/share/applications/calamares.desktop" | |
66 | - install -Dm755 "../data/calamares_polkit" "$pkgdir/usr/bin/calamares_polkit" | |
67 | - install -Dm644 "../data/49-nopasswd-calamares.rules" "$pkgdir/etc/polkit-1/rules.d/49-nopasswd-calamares.rules" | |
68 | - chmod 750 "$pkgdir"/etc/polkit-1/rules.d | |
69 | - | |
70 | - # rename services-systemd back to services | |
71 | - mv "$pkgdir/usr/lib/calamares/modules/services-systemd" "$pkgdir/usr/lib/calamares/modules/services" | |
72 | - mv "$pkgdir/usr/share/calamares/modules/services-systemd.conf" "$pkgdir/usr/share/calamares/modules/services.conf" | |
73 | - sed -i -e 's/-systemd//' "$pkgdir/usr/lib/calamares/modules/services/module.desc" | |
74 | - sed -i -e 's/-systemd//' "$pkgdir/usr/share/calamares/settings.conf" | |
75 | -} |
@@ -0,0 +1,87 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
2 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
3 | + | |
4 | +<svg | |
5 | + xmlns:dc="http://purl.org/dc/elements/1.1/" | |
6 | + xmlns:cc="http://creativecommons.org/ns#" | |
7 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
8 | + xmlns:svg="http://www.w3.org/2000/svg" | |
9 | + xmlns="http://www.w3.org/2000/svg" | |
10 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
11 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
12 | + width="270" | |
13 | + height="270" | |
14 | + viewBox="0 0 71.437501 71.437498" | |
15 | + version="1.1" | |
16 | + id="svg8" | |
17 | + inkscape:version="0.92.1 r15371" | |
18 | + sodipodi:docname="Colored_Small.svg"> | |
19 | + <defs | |
20 | + id="defs2" /> | |
21 | + <sodipodi:namedview | |
22 | + id="base" | |
23 | + pagecolor="#ffffff" | |
24 | + bordercolor="#666666" | |
25 | + borderopacity="1.0" | |
26 | + inkscape:pageopacity="0.0" | |
27 | + inkscape:pageshadow="2" | |
28 | + inkscape:zoom="0.35" | |
29 | + inkscape:cx="58.014933" | |
30 | + inkscape:cy="-100.80041" | |
31 | + inkscape:document-units="mm" | |
32 | + inkscape:current-layer="layer1" | |
33 | + showgrid="false" | |
34 | + inkscape:snap-global="false" | |
35 | + inkscape:snap-intersection-paths="true" | |
36 | + inkscape:window-width="1828" | |
37 | + inkscape:window-height="1058" | |
38 | + inkscape:window-x="-8" | |
39 | + inkscape:window-y="-8" | |
40 | + inkscape:window-maximized="1" | |
41 | + fit-margin-top="30" | |
42 | + fit-margin-left="30" | |
43 | + fit-margin-right="30" | |
44 | + fit-margin-bottom="30" | |
45 | + inkscape:pagecheckerboard="true" | |
46 | + units="px" /> | |
47 | + <metadata | |
48 | + id="metadata5"> | |
49 | + <rdf:RDF> | |
50 | + <cc:Work | |
51 | + rdf:about=""> | |
52 | + <dc:format>image/svg+xml</dc:format> | |
53 | + <dc:type | |
54 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
55 | + <dc:title></dc:title> | |
56 | + </cc:Work> | |
57 | + </rdf:RDF> | |
58 | + </metadata> | |
59 | + <g | |
60 | + inkscape:label="レイヤー 1" | |
61 | + inkscape:groupmode="layer" | |
62 | + id="layer1" | |
63 | + transform="translate(-45.541345,-93.335354)"> | |
64 | + <g | |
65 | + id="g3879" | |
66 | + transform="matrix(0.46254636,0,0,0.46254636,34.059003,54.553744)" | |
67 | + inkscape:label="Logo"> | |
68 | + <path | |
69 | + style="display:inline;fill:#009aff;fill-opacity:1;stroke:none;stroke-width:0.72424453px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | |
70 | + d="m 376.67969,225.3418 -76.11719,131.83984 83.02148,143.80078 39.94922,-68.63476 112.28907,68.63476 z" | |
71 | + transform="matrix(0.36532318,0,0,0.36532318,-35.512977,28.343159)" | |
72 | + id="path3870" | |
73 | + inkscape:connector-curvature="0" /> | |
74 | + <path | |
75 | + style="fill:#006eff;fill-opacity:1;stroke:none;stroke-width:0.72424453px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | |
76 | + d="m 300.5625,357.18164 -83.30273,144.08008 h 166.48632 l -0.16211,-0.2793 39.94922,-68.63476 z" | |
77 | + transform="matrix(0.36532318,0,0,0.36532318,-35.512977,28.343159)" | |
78 | + id="path3906" | |
79 | + inkscape:connector-curvature="0" /> | |
80 | + <path | |
81 | + inkscape:connector-curvature="0" | |
82 | + id="path3874" | |
83 | + d="M 104.61945,211.3638 119.21327,186.28966 74.289189,158.83024 Z" | |
84 | + style="fill:#005498;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> | |
85 | + </g> | |
86 | + </g> | |
87 | +</svg> |