Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesH/hyphen.git

subrepo:
  subdir:   "hyphen"
  merged:   "ce0b24b"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesH/hyphen.git"
  branch:   "master"
  commit:   "ce0b24b"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
0b7741d574
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      hyphen/.artixlinux/agent.yaml
  2. 33
      hyphen/.gitignore
  3. 12
      hyphen/.gitrepo
  4. 3
      hyphen/Jenkinsfile
  5. 2
      hyphen/README.md
  6. 56
      hyphen/repos/extra-x86_64/PKGBUILD
  7. 56
      hyphen/trunk/PKGBUILD

5
hyphen/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
hyphen/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
hyphen/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesH/hyphen.git
branch = master
commit = ce0b24b223aec508d9890b8f7c13a94904dfb52c
parent = 8422dd6b799ba24715116d3f0db3309dbdd1a843
method = merge
cmdver = 0.4.1

3
hyphen/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
hyphen/README.md

@ -0,0 +1,2 @@
# hyphen

56
hyphen/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,56 @@
# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.8.8
pkgrel=2
arch=('x86_64')
url="http://hunspell.sf.net"
license=('GPL2' 'LGPL2.1' 'MPL')
makedepends=('glibc' 'perl')
source=(http://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
}

56
hyphen/trunk/PKGBUILD

@ -0,0 +1,56 @@
# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.8.8
pkgrel=2
arch=('x86_64')
url="http://hunspell.sf.net"
license=('GPL2' 'LGPL2.1' 'MPL')
makedepends=('glibc' 'perl')
source=(http://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
}
Loading…
Cancel
Save