Commit c2ab79a
0
plików
+0
dodanych
-0
usuniętych
@@ -835,57 +835,54 @@ footprint_hunspell_zh: |
835
835
836
836
build: |
837
837
git clone https://github.com/titoBouzout/Dictionaries
838
- cd ${pkgname}-${pkgver}
839
- ./configure --prefix=/usr \
840
- --disable-static \
841
- --with-ui \
842
- --with-readline
843
-
844
- make
845
- make DESTDIR=${PKGDIR} install
846
- # add generic hunspell.so for development and projects not using pkgconfig flags
847
- pushd ${PKGDIR}/usr/lib
848
- ln -s libhunspell-?.?.so libhunspell.so
838
+
839
+ pushd ${pkgname}-${pkgver}
840
+ ./configure --prefix=/usr \
841
+ --disable-static \
842
+ --with-ui \
843
+ --with-readline
844
+
845
+ make
846
+ make DESTDIR=${PKGDIR} install
849
847
popd
850
848
851
- # Obsolet lib
852
- rm -f ${PKGDIR}/usr/lib/libhunspell-1.?.la
849
+ # Symlink libhunspell.so
850
+ pushd ${PKGDIR}/usr/lib
851
+ ln -sf libhunspell-1.7.so libhunspell.so
852
+ rm -f libhunspell-1.7.la
853
+ popd
853
854
854
- # English dictionaries
855
- cd ${PKGDIR}
855
+ # Instalacja słowników angielskich z zeklonowanego repozytorium Dictionaries
856
+ install -dm755 ${PKGDIR}/usr/share/myspell/dicts
857
+ install -dm755 ${PKGDIR}/usr/share/hunspell
856
858
857
- install -dm755 usr/share/myspell/dicts
858
- install -Dm644 "./Dictionaries/English (American).dic" usr/share/hunspell/en_US.dic
859
- install -Dm644 "./Dictionaries/English (American).aff" usr/share/hunspell/en_US.aff
859
+ install -Dm644 "Dictionaries/English (American).dic" ${PKGDIR}/usr/share/hunspell/en_US.dic
860
+ install -Dm644 "Dictionaries/English (American).aff" ${PKGDIR}/usr/share/hunspell/en_US.aff
860
861
861
- install -Dm644 "./Dictionaries/English (Australian).dic" usr/share/hunspell/en_AU.dic
862
- install -Dm644 "./Dictionaries/English (Australian).aff" usr/share/hunspell/en_AU.aff
862
+ install -Dm644 "Dictionaries/English (Australian).dic" ${PKGDIR}/usr/share/hunspell/en_AU.dic
863
+ install -Dm644 "Dictionaries/English (Australian).aff" ${PKGDIR}/usr/share/hunspell/en_AU.aff
863
864
864
- install -Dm644 "./Dictionaries/English (British).dic" usr/share/hunspell/en_GB.dic
865
- install -Dm644 "./Dictionaries/English (British).aff" usr/share/hunspell/en_GB.aff
865
+ install -Dm644 "Dictionaries/English (British).dic" ${PKGDIR}/usr/share/hunspell/en_GB.dic
866
+ install -Dm644 "Dictionaries/English (British).aff" ${PKGDIR}/usr/share/hunspell/en_GB.aff
866
867
867
- install -Dm644 "./Dictionaries/English (Canadian).dic" usr/share/hunspell/en_CA.dic
868
- install -Dm644 "./Dictionaries/English (Canadian).aff" usr/share/hunspell/en_CA.aff
868
+ install -Dm644 "Dictionaries/English (Canadian).dic" ${PKGDIR}/usr/share/hunspell/en_CA.dic
869
+ install -Dm644 "Dictionaries/English (Canadian).aff" ${PKGDIR}/usr/share/hunspell/en_CA.aff
869
870
870
- install -Dm644 "./Dictionaries/English (South African).dic" usr/share/hunspell/en_ZA.dic
871
- install -Dm644 "./Dictionaries/English (South African).aff" usr/share/hunspell/en_ZA.aff
871
+ install -Dm644 "Dictionaries/English (South African).dic" ${PKGDIR}/usr/share/hunspell/en_ZA.dic
872
+ install -Dm644 "Dictionaries/English (South African).aff" ${PKGDIR}/usr/share/hunspell/en_ZA.aff
872
873
873
- for f in usr/share/hunspell/*
874
- do
875
- ln -s /$f \
876
- usr/share/myspell/dicts/$(basename $f)
874
+ # Tworzenie dowiązań dla myspell
875
+ for f in ${PKGDIR}/usr/share/hunspell/*; do
876
+ ln -sf /usr/share/hunspell/$(basename $f) ${PKGDIR}/usr/share/myspell/dicts/$(basename $f)
877
877
done
878
+
879
+ # Licencje słowników
878
880
install -dm755 ${PKGDIR}/usr/share/licenses/${pkgname}-en
879
- install -Dm644 "./Dictionaries/English (American).txt" \
880
- ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-US.txt
881
- install -Dm644 "./Dictionaries/English (Australian).txt" \
882
- ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-AU.txt
883
- install -Dm644 "./Dictionaries/English (British).txt" \
884
- ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-GB.txt
885
- install -Dm644 "./Dictionaries/English (Canadian).txt" \
886
- ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-CA.txt
887
- install -Dm644 "./Dictionaries/English (South African).txt" \
888
- ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-ZA.txt
881
+ install -Dm644 "Dictionaries/English (American).txt" ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-US.txt
882
+ install -Dm644 "Dictionaries/English (Australian).txt" ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-AU.txt
883
+ install -Dm644 "Dictionaries/English (British).txt" ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-GB.txt
884
+ install -Dm644 "Dictionaries/English (Canadian).txt" ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-CA.txt
885
+ install -Dm644 "Dictionaries/English (South African).txt" ${PKGDIR}/usr/share/licenses/${pkgname}-en/LICENCE-ZA.txt
889
886
890
887
package: |
891
888
true