diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
commit | ad45d1982b97faa9372d99e51daa687c7c09de7d (patch) | |
tree | af490221f2b733b8f0cf68f3898566d5049c3ab4 /libre | |
parent | 7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (diff) |
Tue Apr 15 03:22:01 UTC 2014
Diffstat (limited to 'libre')
-rw-r--r-- | libre/calibre-libre/PKGBUILD | 94 | ||||
-rw-r--r-- | libre/texlive-core-libre/PKGBUILD | 320 | ||||
-rw-r--r-- | libre/texlive-fontsextra-libre/PKGBUILD | 70 | ||||
-rw-r--r-- | libre/texlive-latexextra-libre/PKGBUILD | 91 |
4 files changed, 0 insertions, 575 deletions
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD deleted file mode 100644 index fd3f3b5ea..000000000 --- a/libre/calibre-libre/PKGBUILD +++ /dev/null @@ -1,94 +0,0 @@ -# $Id: PKGBUILD 107204 2014-03-14 14:47:48Z jelle $ -# Maintainer: jelle van der Waa <jelle@vdwaa.nl> -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Giovanni Scafora <giovanni@archlinux.org> -# Contributor: Petrov Roman <nwhisper@gmail.com> -# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com> -# Contributor: Larry Hajali <larryhaja@gmail.com> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -_pkgname=calibre -pkgname=calibre-libre -pkgver=1.28.0 -pkgrel=1 -pkgdesc="Ebook management application, with unar support" -arch=('i686' 'x86_64' 'mips64el') -url="http://calibre-ebook.com/" -license=('GPL3') -depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' - 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' - 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' - 'python2-pillow' 'shared-mime-info' 'python2-dnspython' - 'unar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' - 'python2-netifaces' 'python2-cssselect' 'python2-apsw') -makedepends=('python2-pycountry' 'qt4-private-headers') -optdepends=('ipython2: to use calibre-debug') -replaces=$_pkgname -conflicts=$_pkgname -provides=$_pkgname=$pkgver -install=calibre.install -source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz" - 'desktop_integration.patch' - 'calibre-mount-helper') -md5sums=('7f435bb4b4613c9a1642ce3a8414392d' - 'ece36dfd737fa4a346f0a0e59395e949' - '675cd87d41342119827ef706055491e7') - -prepare(){ - cd "${srcdir}/${_pkgname}" - #rm -rf src/{cherrypy,pyPdf} - rm -rf src/cherrypy - rm -rf resources/${pkgname}-portable.* - sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py - - # Fix for calibre-0.8.58 - sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py - - sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ - $(find . -regex ".*.py\|.*.recipe") -} - -build() { - cd "${srcdir}/${_pkgname}" - - LANG='en_US.UTF-8' python2 setup.py build - # LANG='en_US.UTF-8' python2 setup.py resources - - # Don't build translations since building them is broken badly - #LANG='en_US.UTF-8' python2 setup.py translations -} - -package() { - cd "${srcdir}/${_pkgname}" - - patch -Np1 -i "${srcdir}/desktop_integration.patch" - - # More on desktop integration (e.g. enforce arch defaults) - sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ - -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ - -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ - -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ - -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py - - # Fix the environment module location - sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py - - install -d "${pkgdir}/usr/lib/python2.7/site-packages" - install -d "${pkgdir}/usr/share/zsh/site-functions" - LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ - --staging-bindir="${pkgdir}/usr/bin" \ - --staging-libdir="${pkgdir}/usr/lib" \ - --staging-sharedir="${pkgdir}/usr/share" - - find "${pkgdir}" -type d -empty -delete - - # See http://lwn.net/SubscriberLink/465311/7c299471a5399167/ - rm -rf "${pkgdir}/usr/bin/calibre-mount-helper" - install -m 755 "${srcdir}/calibre-mount-helper" "${pkgdir}/usr/bin" - - # Compiling bytecode FS33392 - python2 -m compileall "${pkgdir}/usr/lib/calibre/" - - # Compiling optimized bytecode FS33392 - python2 -O -m compileall "${pkgdir}/usr/lib/calibre/" -} diff --git a/libre/texlive-core-libre/PKGBUILD b/libre/texlive-core-libre/PKGBUILD deleted file mode 100644 index e56677d76..000000000 --- a/libre/texlive-core-libre/PKGBUILD +++ /dev/null @@ -1,320 +0,0 @@ -# Maintainer: Rémy Oudompheng <remy@archlinux.org> -# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu> -# Contributor (Parabola): André Silva <emulatorman@parabola.nu> - -pkgname=texlive-core-libre -_pkgname=texlive-core -pkgver=2013.33063 -_revnr=${pkgver#2013.} -pkgrel=1 -pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)" -license=('GPL') -arch=(any) -depends=('texlive-bin' 'perl') -optdepends=( - 'ruby: for old ConTeXT MkII and epspdf' - 'perl-tk: for texdoctk' - 'python2: for dviasm' - 'ghostscript: for epstopdf, epspdf and other ConTeXt tools' - 'psutils: to manipulate the output of dvips' - 't1utils: can be useful when installing Type1 fonts' - 'jre7-openjdk: for utilities like arara' -) -groups=('texlive-most') -conflicts=('tetex' 'texlive-latex3' 'texlive-core') -provides=('tetex' 'texlive-latex3' "texlive-core=$pkgver") -replaces=('tetex' 'texlive-latex3' 'texlive-core') -url='http://tug.org/texlive/' -mksource=("ftp://ftp.archlinux.org/other/texlive/$_pkgname-$pkgver-src.zip") -noextract=("$_pkgname-$pkgver-src.zip") -source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver-src.tar.xz" - "$_pkgname.maps" - "texmf.cnf" - "texmfcnf.lua" - "09-texlive-fonts.conf") -options=(!strip) -install=texlive.install -backup=(etc/texmf/web2c/texmf.cnf \ - etc/texmf/chktex/chktexrc \ - etc/texmf/dvipdfmx/dvipdfmx.cfg \ - etc/texmf/dvips/config/config.ps \ - etc/texmf/tex/generic/config/language.dat \ - etc/texmf/tex/generic/config/language.def \ - etc/texmf/tex/generic/config/pdftexconfig.tex \ - etc/texmf/ttf2pk/ttf2pk.cfg \ - etc/texmf/web2c/fmtutil.cnf \ - etc/texmf/web2c/mktex.cnf \ - etc/texmf/xdvi/XDvi) - -mkmd5sums=('7e11e1bf401d0a152ac50ef48d676bb3') -md5sums=('7f276d14c0d715704b1acbc195e72fe6' - '8b998b0944a766abeb1ff8ca53029084' - 'd5a3f442ec3b7aa1518170f64f9d006b' - '16ad4dc53deb00029baef1b01ba1d984' - '393a4bf67adc7ca5df2b386759d1a637') - -mksource() { - mkdir $_pkgname-$pkgver - pushd $_pkgname-$pkgver - bsdtar xfv ../$_pkgname-$pkgver-src.zip - - # remove nonfree packages - # MeX licensed packages. - rm -v {cc-pl,cs,ec,mex,pl}.tar.xz - # Public domain, will be relicensed. - rm -v context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz - # No specific free license. - rm -v euro-ce.tar.xz - # Remove their references from package list. - sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS - - popd -} - -build() { - cd $srcdir/$_pkgname-$pkgver - echo -n " --> extracting all packages... " - for p in *.tar.xz; do - bsdtar -xf $p - done - echo "done" - rm -rf {tlpkg,doc,source,omega} || true - - # remove nonfree packages references from updmap.cfg - sed -i '/ccpl.map/d' texmf-dist/web2c/updmap.cfg - sed -i '/cs-charter.map/d' texmf-dist/web2c/updmap.cfg - sed -i '/csfonts.map/d' texmf-dist/web2c/updmap.cfg - sed -i '/plother.map/d' texmf-dist/web2c/updmap.cfg - sed -i '/pltext.map/d' texmf-dist/web2c/updmap.cfg - - # remove nonfree packages references from texlive-core.maps - sed -i '/ccpl.map/d' $srcdir/$_pkgname.maps - sed -i '/cs-charter.map/d' $srcdir/$_pkgname.maps - sed -i '/csfonts.map/d' $srcdir/$_pkgname.maps - sed -i '/plother.map/d' $srcdir/$_pkgname.maps - sed -i '/pltext.map/d' $srcdir/$_pkgname.maps - - # remove nonfree packages references from fmtutil.cnf - sed -i '/cslatex/d' texmf-dist/web2c/fmtutil.cnf - sed -i '/csplain/d' texmf-dist/web2c/fmtutil.cnf - sed -i '/from mex/d' texmf-dist/web2c/fmtutil.cnf - sed -i '/mexconf.tex/d' texmf-dist/web2c/fmtutil.cnf -} - -package() { - cd $srcdir/$_pkgname-$pkgver - # Install packages. - install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs - sed -i '/^#/d' CONTENTS - install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${_pkgname}_${_revnr}.pkgs - install -m644 $srcdir/$_pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/ - install -m755 -d $pkgdir/usr/share - wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true - for dir in $wanteddirs; do - find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; - find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; - done - find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; - find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; - find texmf-dist -type f -executable -exec chmod 755 $pkgdir/usr/share/'{}' \; - - ############################################################# - ### install texmf tree - echo "--> installing the /etc/texmf tree" - install -d -m755 "$pkgdir"/etc/texmf/web2c - install -d -m755 "$pkgdir"/etc/texmf/chktex - install -d -m755 "$pkgdir"/etc/texmf/dvips/config - install -d -m755 "$pkgdir"/etc/texmf/dvipdfmx - install -d -m755 "$pkgdir"/etc/texmf/tex/generic/config - install -d -m755 "$pkgdir"/etc/texmf/ttf2pk - install -d -m755 "$pkgdir"/etc/texmf/xdvi - install -d -m755 "$pkgdir"/etc/fonts/conf.avail - install -m644 "$srcdir"/09-texlive-fonts.conf "$pkgdir"/etc/fonts/conf.avail/ - - # Remove manpages (already in texlive-bin). - rm -rf "$pkgdir"/usr/share/texmf-dist/doc/man - - # copy config files to $TEXMFCONFIG tree - cp -a "$pkgdir"/usr/share/texmf-dist/chktex/chktexrc \ - "$pkgdir"/etc/texmf/chktex/ - cp -a "$pkgdir"/usr/share/texmf-dist/web2c/mktex.cnf \ - "$pkgdir"/etc/texmf/web2c/ - cp -a "$pkgdir"/usr/share/texmf-dist/web2c/updmap.cfg \ - "$pkgdir"/etc/texmf/web2c/ - cp -a "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf \ - "$pkgdir"/etc/texmf/web2c/ - cp -a "$pkgdir"/usr/share/texmf-dist/dvips/config/config.ps \ - "$pkgdir"/etc/texmf/dvips/config/ - cp -a "$pkgdir"/usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \ - "$pkgdir"/etc/texmf/dvipdfmx/ - cp -a "$pkgdir"/usr/share/texmf-dist/tex/generic/config/pdftexconfig.tex \ - "$pkgdir"/etc/texmf/tex/generic/config/ - cp -a "$pkgdir"/usr/share/texmf-dist/tex/generic/config/language.dat \ - "$pkgdir"/etc/texmf/tex/generic/config/ - cp -a "$pkgdir"/usr/share/texmf-dist/tex/generic/config/language.def \ - "$pkgdir"/etc/texmf/tex/generic/config/ - cp -a "$pkgdir"/usr/share/texmf-dist/ttf2pk/ttf2pk.cfg \ - "$pkgdir"/etc/texmf/ttf2pk/ - cp -a "$pkgdir"/usr/share/texmf-dist/xdvi/XDvi \ - "$pkgdir"/etc/texmf/xdvi/ - # remove TL specific warnings in the language.{dat,def} files: - sed -i -e '/DO NOT EDIT/,+3 d' "$pkgdir"/etc/texmf/tex/generic/config/language.* - # clean updmap.cfg - sed -i '/^\(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg - sed -i '/^#! \(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg - - - # replace upstream texmf.cnf with ours - rm -f "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf - install -m644 "$srcdir"/texmf.cnf "$pkgdir"/etc/texmf/web2c/texmf.cnf - # since the location of texmf.cnf is hard-wired to be under /usr/share/texmf/web2c - # we make a symlink from /etc/texmf/web2c/texmf.cnf to the latter - ln -sf /etc/texmf/web2c/texmf.cnf "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf - # replace upstream texmfcnf.lua with ours - install -m644 "$srcdir"/texmfcnf.lua "$pkgdir"/usr/share/texmf-dist/web2c/texmfcnf.lua - ## remove aleph from fmtutil.cnf - sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf - - # create symlinks for formats - echo "--> Create symlinks for TeX formats ..." - mkdir -p "${pkgdir}/usr/bin" - bash "${pkgdir}"/usr/share/texmf-dist/scripts/texlive/texlinks.sh -f "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf "$pkgdir"/usr/bin/ - - # use python2 for dviasm - sed -i 's/env python/env python2/' $pkgdir/usr/share/texmf-dist/scripts/dviasm/dviasm.py - - # copy config file to texmf-config - #mkdir -p $pkgdir/etc/texmf/tex/context/config - #cp -a $pkgdir/usr/share/texmf-dist/tex/context/config/cont-usr.tex \ - # $pkgdir/etc/texmf/tex/context/config/cont-usr.tex - - # remove obsolete stuff (we don't provide the omega and aleph binaries anyway) - rm -f $pkgdir/usr/share/texmf-dist/tex/plain/config/{omega,aleph}.ini - #sed -i '/cherokee\.map/d; /oinuit\.map/d; /omega\.map/d' \ - # "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg" - - # remove upstream updmap.cfg: it contains too many maps. - rm "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg" - - # more cleanup - rm -rf $pkgdir/usr/share/texmf-dist/scripts/context/stubs/mswin/ - - # link programs from /usr/share/texmf-dist/scripts - _linked_scripts=" -a2ping/a2ping.pl -accfonts/mkt1font -accfonts/vpl2ovp -accfonts/vpl2vpl -adhocfilelist/adhocfilelist.sh -arara/arara.sh -bundledoc/arlatex -bundledoc/bundledoc -checkcites/checkcites.lua -chktex/chkweb.sh -chktex/deweb.pl -context/perl/mptopdf.pl -context/stubs/unix/context -context/stubs/unix/ctxtools -context/stubs/unix/luatools -context/stubs/unix/mtxrun -context/stubs/unix/pstopdf -context/stubs/unix/texexec -context/stubs/unix/texmfstart -ctanify/ctanify -ctanupload/ctanupload.pl -de-macro/de-macro -dosepsbin/dosepsbin.pl -dtxgen/dtxgen -dviasm/dviasm.py -epstopdf/epstopdf.pl -findhyph/findhyph -fontools/afm2afm -fontools/autoinst -fontools/ot2kpx -fragmaster/fragmaster.pl -installfont/installfont-tl -latex2man/latex2man -latexdiff/latexdiff-vc.pl -latexdiff/latexdiff.pl -latexdiff/latexrevise.pl -latexfileversion/latexfileversion -latexmk/latexmk.pl -latexpand/latexpand -ltxfileinfo/ltxfileinfo -lua2dox/lua2dox_filter -luaotfload/luaotfload-tool.lua -match_parens/match_parens -mf2pt1/mf2pt1.pl -mkjobtexmf/mkjobtexmf.pl -oberdiek/pdfatfi.pl -pdfcrop/pdfcrop.pl -pdfjam/pdf180 -pdfjam/pdf270 -pdfjam/pdf90 -pdfjam/pdfbook -pdfjam/pdfflip -pdfjam/pdfjam -pdfjam/pdfjam-pocketmod -pdfjam/pdfjam-slides3up -pdfjam/pdfjam-slides6up -pdfjam/pdfjoin -pdfjam/pdfnup -pdfjam/pdfpun -pfarrei/a5toa4.tlu -pfarrei/pfarrei.tlu -pkfix-helper/pkfix-helper -pkfix/pkfix.pl -ps2eps/ps2eps.pl -purifyeps/purifyeps -simpdftex/simpdftex -sty2dtx/sty2dtx.pl -texcount/texcount.pl -texdef/texdef.pl -texdiff/texdiff -texdirflatten/texdirflatten -texdoc/texdoc.tlu -texdoctk/texdoctk.pl -texlive/allcm.sh -texlive/allneeded.sh -texlive/dvi2fax.sh -texlive/dvired.sh -texlive/e2pall.sh -texlive/fmtutil-sys.sh -texlive/fmtutil.sh -texlive/fontinst.sh -texlive/kpsetool.sh -texlive/kpsewhere.sh -texlive/ps2frag.sh -texlive/pslatex.sh -texlive/rungs.tlu -texlive/texconfig-dialog.sh -texlive/texconfig-sys.sh -texlive/texconfig.sh -texlive/texlinks.sh -texlive/updmap-sys.sh -texlive/updmap.pl -texliveonfly/texliveonfly.py -texloganalyser/texloganalyser -thumbpdf/thumbpdf.pl -typeoutfileinfo/typeoutfileinfo.sh -xindy/texindy.pl -xindy/xindy.pl -" - install -m755 -d $pkgdir/usr/bin - for _script in ${_linked_scripts}; do - _scriptbase=$(basename $_script) - _scriptbase=${_scriptbase%.*} - [[ -f ${pkgdir}/usr/share/texmf-dist/scripts/${_script} ]] && - ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase} - done - ln -s /usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh ${pkgdir}/usr/bin/listings-ext.sh - - # additional symlinks - ln -s allcm ${pkgdir}/usr/bin/allec - ln -s fmtutil ${pkgdir}/usr/bin/mktexfmt - ln -s kpsetool ${pkgdir}/usr/bin/kpsexpand - ln -s kpsetool ${pkgdir}/usr/bin/kpsepath - ln -s epstopdf ${pkgdir}/usr/bin/repstopdf - ln -s pdfcrop ${pkgdir}/usr/bin/rpdfcrop - ln -s luaotfload-tool ${pkgdir}/usr/bin/mkluatexfontdb -} diff --git a/libre/texlive-fontsextra-libre/PKGBUILD b/libre/texlive-fontsextra-libre/PKGBUILD deleted file mode 100644 index 40ef79a37..000000000 --- a/libre/texlive-fontsextra-libre/PKGBUILD +++ /dev/null @@ -1,70 +0,0 @@ -# Maintainer: Rémy Oudompheng <remy.archlinux.org> -# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu> -# Contributor (Parabola): André Silva <emulatorman@parabola.nu> - -pkgname=texlive-fontsextra-libre -_pkgname=texlive-fontsextra -pkgver=2013.33010 -_revnr=${pkgver#2013.} -pkgrel=1 -pkgdesc="TeX Live - all sorts of extra fonts, without nonfree add-on packages" -license=('GPL') -arch=(any) -depends=('texlive-core') -groups=('texlive-most') -replaces=('texlive-fontsextra') -conflicts=('texlive-fontsextra') -provides=('texlive-fontsextra') -url='http://tug.org/texlive/' -mksource=("ftp://ftp.archlinux.org/other/texlive/$_pkgname-$pkgver-src.zip") -noextract=("$_pkgname-$pkgver-src.zip") -source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver-src.tar.xz" "$_pkgname.maps") -options=('!emptydirs') -options=(!strip) -install=texlive.install -mkmd5sums=('4953978642ddcfc90854230b57145b5b') -md5sums=('0e0d06caf88304ed7988f23962f44b2d' - '2ee682ecd2a7defb5f089be09be2ffed') - -mksource() { - mkdir $_pkgname-$pkgver - pushd $_pkgname-$pkgver - bsdtar xfv ../$_pkgname-$pkgver-src.zip - - # remove nonfree packages - # No specific free license. - rm -v ogham.tar.xz - # Remove them from package list. - sed -ri '/^ogham /d' CONTENTS - - popd -} - -build() { - cd $srcdir/$_pkgname-$pkgver - for p in *.tar.xz; do - bsdtar -xf $p - done - rm -rf {tlpkg,doc,source} || true -} - -package() { - cd $srcdir/$_pkgname-$pkgver - install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs - sed -i '/^#/d' CONTENTS - install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${_pkgname}_${_revnr}.pkgs - install -m644 $srcdir/$_pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/ - install -m755 -d $pkgdir/usr/share - wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true - for dir in $wanteddirs; do - find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; - find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; - done - if [[ -d texmf-dist ]]; then - find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; - find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; - fi - if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then - find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \; - fi -} diff --git a/libre/texlive-latexextra-libre/PKGBUILD b/libre/texlive-latexextra-libre/PKGBUILD deleted file mode 100644 index 48756201a..000000000 --- a/libre/texlive-latexextra-libre/PKGBUILD +++ /dev/null @@ -1,91 +0,0 @@ -# $Id: PKGBUILD 207649 2014-03-12 22:58:16Z remy $ -# Maintainer: Firmicus <firmicus āt gmx dōt net> -# Maintainer: Rémy Oudompheng <remy@archlinux.org> -# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu> -# Contributor (Parabola): André Silva <emulatorman@parabola.nu> - -pkgname=texlive-latexextra-libre -_pkgname=texlive-latexextra -pkgver=2013.33063 -_revnr=${pkgver#2013.} -pkgrel=1 -pkgdesc="TeX Live - Large collection of add-on packages for LaTeX, without nonfree add-on packages" -license=('GPL') -arch=(any) -depends=('texlive-core' - 'perl-file-which' # for pdfannotextractor - ) -optdepends=( - 'texlive-genericextra: to use the calctab package' - 'texlive-pictures: to use the package overpic' - 'jdk7-openjdk: to use pdfannotextractor' -) -provides=('texlive-latexextra') -replaces=('texlive-latexextra') -conflicts=('texlive-latexextra') -groups=('texlive-most') -url='http://tug.org/texlive/' -mksource=("ftp://ftp.archlinux.org/other/texlive/$_pkgname-$pkgver-src.zip") -noextract=("$_pkgname-$pkgver-src.zip") -source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver-src.tar.xz" "$_pkgname.maps") -options=('!emptydirs') -options=(!strip) -install=texlive.install -mkmd5sums=('ef7a22d455bcf59aee21fc65274df5b8') -md5sums=('f555e017e8157716ead75f3bdc025d58' - '9e4825f47dac663dd62c4bfa67899e84') - -mksource() { - mkdir $_pkgname-$pkgver - pushd $_pkgname-$pkgver - bsdtar xfv ../$_pkgname-$pkgver-src.zip - - # remove nonfree packages - # No specific free license. - rm -v {authoraftertitle,clock,fnpara}.tar.xz - # Remove them from package list. - sed -ri '/^(authoraftertitle|fnpara) /d' CONTENTS - - popd -} -build() { - cd $srcdir/$_pkgname-$pkgver - for p in *.tar.xz; do - bsdtar -xf $p - done - rm -rf {tlpkg,doc,source} || true -} -package() { - cd $srcdir/$_pkgname-$pkgver - install -m755 -d "$pkgdir"/var/lib/texmf/arch/installedpkgs - sed -i '/^#/d' CONTENTS - install -m644 CONTENTS "$pkgdir"/var/lib/texmf/arch/installedpkgs/${_pkgname}_${_revnr}.pkgs - install -m644 $srcdir/$_pkgname.maps "$pkgdir"/var/lib/texmf/arch/installedpkgs/ - install -m755 -d "$pkgdir"/usr/share - wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true - for dir in $wanteddirs; do - find $dir -type d -exec install -d -m755 "$pkgdir"/usr/share/texmf-dist/'{}' \; - find $dir -type f -exec install -m644 '{}' "$pkgdir"/usr/share/texmf-dist/'{}' \; - done - if [[ -d texmf-dist ]]; then - find texmf-dist -type d -exec install -d -m755 "$pkgdir"/usr/share/'{}' \; - find texmf-dist -type f -exec install -m644 '{}' "$pkgdir"/usr/share/'{}' \; - fi - if [[ -d "$pkgdir"/usr/share/texmf-dist/scripts ]]; then - find "$pkgdir"/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \; - fi - #add symlinks that were in texlive-bin: - install -m755 -d "$pkgdir"/usr/bin - ln -s /usr/share/texmf-dist/scripts/authorindex/authorindex "$pkgdir"/usr/bin/authorindex - ln -s /usr/share/texmf-dist/scripts/exceltex/exceltex "$pkgdir"/usr/bin/exceltex - ln -s /usr/share/texmf-dist/scripts/glossaries/makeglossaries "$pkgdir"/usr/bin/makeglossaries - ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl "$pkgdir"/usr/bin/pdfannotextractor - ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl "$pkgdir"/usr/bin/perltex - ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf "$pkgdir"/usr/bin/ps4pdf - ln -s /usr/share/texmf-dist/scripts/splitindex/splitindex.pl "$pkgdir"/usr/bin/splitindex - ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl "$pkgdir"/usr/bin/svn-multi - ln -s /usr/share/texmf-dist/scripts/vpe/vpe.pl "$pkgdir"/usr/bin/vpe - rm "$pkgdir"/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat - rm "$pkgdir"/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat* - rm "$pkgdir"/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat -} |