-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 archli...@jelmail.com wrote:
>Hello, > >I was messing around with my fonts today and decided to get some new >ones. There are several packages of apple fonts on the AUR but I had >issues with some of the fonts not being recognised by LibreOffice (due >to it seemingly being unable to read ttc - truetype font collection - >files) so I thought I'd fix that issue and bring the various font >collections together into a single package for my own use, but I >wondered if this sort of thing would be useful to others. > >The pkgbuild is below. Let me know if I should upload this package. > >Thanks. > ># Maintainer: John Lane <archlinux at jelmail dot com> ># Based on ttf-mac by Guten Ye >(https://github.com/GutenYe/aur/tree/master/ttf-mac) ># ttf-mac-fonts by Shanto (at hotmail.com) ># macfonts by Erus <erus.iluva...@gmail.com> > ># This packages Apple font packs obtained from multiple ># sources. Where the same font is in multiple packs, ># this package will contain the one from the last pack ># processed. > >pkgname=ttf-apple >pkgver=0 >pkgrel=1 >pkgdesc='A collection of Apple Mac/OS X TrueType fonts' >arch=('any') >url='http://www.apple.com/osx/' >license=('custom') >depends=('fontconfig') >makedepends=('subversion' 'fondu' 'fontforge') >conflicts=('ttf-mac-fonts' 'ttf-mac' 'macfonts') >provides=('ttf-mac-fonts' 'ttf-mac' 'macfonts') >install='install' > >source=(http://invisible-files.googlecode.com/files/ttf-mac-fonts.tar.gz > http://ompldr.org/vNXFlNA) > >md5sums=('4f84a9630c3c8faf1f4ba8ea075108bc' > 'e185688cf54a2f2020a4bc071316b67b') > >build() { > > # font pack from >https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts > svn co >https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts >"$srcdir/macbunt >u" > > # font pack from >http://invisible-files.googlecode.com/files/ttf-mac-fonts.tar.gz > cd "$srcdir/ttf-mac-fonts" > fondu -force *.dfont > for ttc in *.ttc; do > ttf=${ttc%.*}.ttf > [[ -f $ttf ]] || FONTFORGE_LANGUAGE=ff fontforge -c 'Open($1); >Generate($2)' $ttc $ttf > done >} > >package() { > > # font pack from http://ompldr.org/vNXFlNA > cd "$srcdir/macfonts" > install -d $pkgdir/usr/share/fonts/{TTF,Type1} > install *.ttf $pkgdir/usr/share/fonts/TTF > install *.PFB $pkgdir/usr/share/fonts/Type1 > > # font pack from >https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts > cd "$srcdir/macbuntu" > install -d $pkgdir/usr/share/fonts/{TTF,Type1} > install gbk/*.ttf $pkgdir/usr/share/fonts/TTF > install mac/*.ttf $pkgdir/usr/share/fonts/TTF > install mac/*.pfb $pkgdir/usr/share/fonts/Type1 > > # font pack from >http://invisible-files.googlecode.com/files/ttf-mac-fonts.tar.gz > cd "$srcdir/ttf-mac-fonts" > install -dm755 "$pkgdir/usr/share/fonts/TTF" > install -m644 *.ttf *.ttc "$pkgdir/usr/share/fonts/TTF" >} Don't just svn checkout, please follow the prototype in /usr/share/pacman/PKGBUILD-svn.proto from the abs package - -- Sent from my Android Phone. Daniel Wallace Arch Linux Trusted User GTManfred -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iQFUBAEBCAA+BQJQ+CBGNxxEYW5pZWwgV2FsbGFjZSAoZ3RtYW5mcmVkKSA8ZGFu aWVsLndhbGxhY2VAZ2F0ZWNoLmVkdT4ACgkQX6XlVE8BDUj0Dgf+L1gnxRAcWQMD +RFo98ttc3bsgQQc0tvlaOsk7YSn/OSMVTlcCqTL0UoKL1+JVId/uwDmdrU/LXNS YFmZ5iGNNMtwEGXheSc02MVDgATdSo03hYLchR7PLybPt+FuYI07QEuin/JXyfR1 CR+6e5Z2hmojNjSlZNqXBK77CBOmzNnI6w3VO4e8V3j2eS0FCMVo88Kt3atAzuPo oJPZcgAg3vCeyYjNlhp5HcCn9H4v1KPkGALSaypCnpGoUljw32yojJapGLsDdWsj XMGnpP6viFhkbuFEVrGkLunLeRNaictpLOPNM1fQogvzQkaw8gboFm6E/DHRK5+Q cSGrQzNKEQ== =Pp4Q -----END PGP SIGNATURE-----