[arch-commits] Commit in hyphen/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Sat May 21 20:11:17 UTC 2022
Date: Saturday, May 21, 2022 @ 20:11:17
Author: andyrtr
Revision: 446314
archrelease: copy trunk to extra-x86_64
Added:
hyphen/repos/extra-x86_64/PKGBUILD
(from rev 446313, hyphen/trunk/PKGBUILD)
Deleted:
hyphen/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-21 20:11:11 UTC (rev 446313)
+++ PKGBUILD 2022-05-21 20:11:17 UTC (rev 446314)
@@ -1,55 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=hyphen
-pkgname=('hyphen' 'hyphen-en')
-pkgver=2.8.8
-pkgrel=3
-arch=('x86_64')
-url="https://hunspell.sf.net"
-license=('GPL2' 'LGPL2.1' 'MPL')
-makedepends=('glibc' 'perl')
-source=(https://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('0556c392beb59433e577e3517575801212201df6')
-
-build() {
- cd "$pkgname"-$pkgver
- ./configure --prefix=/usr --disable-static
- make
-}
-
-package_hyphen() {
- pkgdesc="library for high quality hyphenation and justification"
- depends=('glibc' 'perl')
-
- cd "$pkgbase"-$pkgver
- make DESTDIR="$pkgdir/" install-libLTLIBRARIES
- make DESTDIR="$pkgdir/" install-binSCRIPTS
- make DESTDIR="$pkgdir/" install-includeHEADERS
-
- # license
- install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_hyphen-en() {
- pkgdesc="English hyphenation rules"
- # arch=('any')
- optdepends=('hyphen: offers hyphenation library functions')
-
- cd "$pkgbase"-$pkgver
- make DESTDIR="$pkgdir/" install-hyphDATA
-
- pushd ${pkgdir}/usr/share/hyphen/
- en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
- for lang in $en_US_aliases; do
- ln -s hyph_en_US.dic hyph_$lang.dic
- done
- popd
-
- # the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd "$pkgdir"/usr/share/myspell/dicts
- for file in "$pkgdir"/usr/share/hyphen/*; do
- ln -sv /usr/share/hyphen/$(basename $file) .
- done
- popd
-}
Copied: hyphen/repos/extra-x86_64/PKGBUILD (from rev 446313, hyphen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-21 20:11:17 UTC (rev 446314)
@@ -0,0 +1,55 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgbase=hyphen
+pkgname=('hyphen' 'hyphen-en')
+pkgver=2.8.8
+pkgrel=4
+arch=('x86_64')
+url="https://hunspell.sf.net"
+license=('GPL2' 'LGPL2.1' 'MPL')
+makedepends=('glibc' 'perl')
+source=(https://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('0556c392beb59433e577e3517575801212201df6')
+
+build() {
+ cd "$pkgname"-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package_hyphen() {
+ pkgdesc="library for high quality hyphenation and justification"
+ depends=('glibc' 'perl')
+
+ cd "$pkgbase"-$pkgver
+ make DESTDIR="$pkgdir/" install-libLTLIBRARIES
+ make DESTDIR="$pkgdir/" install-binSCRIPTS
+ make DESTDIR="$pkgdir/" install-includeHEADERS
+
+ # license
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_hyphen-en() {
+ pkgdesc="English hyphenation rules"
+ # arch=('any')
+ optdepends=('hyphen: offers hyphenation library functions')
+
+ cd "$pkgbase"-$pkgver
+ make DESTDIR="$pkgdir/" install-hyphDATA
+
+ pushd ${pkgdir}/usr/share/hyphen/
+ en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
+ for lang in $en_US_aliases; do
+ ln -s hyph_en_US.dic hyph_$lang.dic
+ done
+ popd
+
+ # the symlinks
+ install -dm755 ${pkgdir}/usr/share/myspell/dicts
+ pushd "$pkgdir"/usr/share/myspell/dicts
+ for file in "$pkgdir"/usr/share/hyphen/*; do
+ ln -sv /usr/share/hyphen/$(basename $file) .
+ done
+ popd
+}
More information about the arch-commits
mailing list