[arch-commits] Commit in texlive-bibtexextra/repos/extra-any (4 files)
Rémy Oudompheng
remy at archlinux.org
Mon Apr 6 00:21:09 UTC 2015
Date: Monday, April 6, 2015 @ 02:21:09
Author: remy
Revision: 235484
archrelease: copy trunk to extra-any
Added:
texlive-bibtexextra/repos/extra-any/PKGBUILD
(from rev 235483, texlive-bibtexextra/trunk/PKGBUILD)
texlive-bibtexextra/repos/extra-any/texlive.install
(from rev 235483, texlive-bibtexextra/trunk/texlive.install)
Deleted:
texlive-bibtexextra/repos/extra-any/PKGBUILD
texlive-bibtexextra/repos/extra-any/texlive.install
-----------------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++------------------------
texlive.install | 24 +++++------
2 files changed, 74 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-05 23:37:33 UTC (rev 235483)
+++ PKGBUILD 2015-04-06 00:21:09 UTC (rev 235484)
@@ -1,49 +0,0 @@
-# $Id$
-# Contributor: Firmicus <firmicus āt gmx dōt net>
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-
-pkgname=texlive-bibtexextra
-pkgver=2014.34822
-_revnr=${pkgver#2014.}
-pkgrel=1
-pkgdesc="TeX Live - Additional BibTeX styles and bibliography databases"
-license=('GPL')
-arch=(any)
-depends=('texlive-core')
-groups=('texlive-most')
-url='http://tug.org/texlive/'
-source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
-install=texlive.install
-md5sums=('25ee0d7b00f04af728f44c8c3f4d30af')
-
-build() {
- cd "$srcdir"
- for p in *.tar.xz; do
- bsdtar -xf $p
- done
- rm -rf {tlpkg,doc,source} || true
-}
-
-package() {
- 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 -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
- install -m755 -d $pkgdir/usr/bin
- ln -s /usr/share/texmf-dist/scripts/bibexport/bibexport.sh $pkgdir/usr/bin/bibexport
- ln -s /usr/share/texmf-dist/scripts/listbib/listbib $pkgdir/usr/bin/listbib
- ln -s /usr/share/texmf-dist/scripts/multibibliography/multibibliography.pl $pkgdir/usr/bin/multibibliography
- ln -s /usr/share/texmf-dist/scripts/urlbst/urlbst $pkgdir/usr/bin/urlbst
-}
Copied: texlive-bibtexextra/repos/extra-any/PKGBUILD (from rev 235483, texlive-bibtexextra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-06 00:21:09 UTC (rev 235484)
@@ -0,0 +1,62 @@
+# $Id$
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-bibtexextra
+pkgver=2014.36690
+_revnr=${pkgver#2014.}
+pkgrel=1
+pkgdesc="TeX Live - Additional BibTeX styles and bibliography databases"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
+install=texlive.install
+md5sums=('d082d7cbb5d295edcb3f61981bd02708')
+
+build() {
+ cd "$srcdir"
+ for p in *.tar.xz; do
+ bsdtar -xf $p
+ done
+ rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+ 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 -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
+
+ # link programs from /usr/share/texmf-dist/scripts
+ _linked_scripts="
+bibexport/bibexport.sh
+crossrefware/bibdoiadd.pl
+crossrefware/bibzbladd.pl
+crossrefware/ltx2crossrefxml.pl
+listbib/listbib
+multibibliography/multibibliography.pl
+urlbst/urlbst
+"
+ 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
+}
Deleted: texlive.install
===================================================================
--- texlive.install 2015-04-05 23:37:33 UTC (rev 235483)
+++ texlive.install 2015-04-06 00:21:09 UTC (rev 235484)
@@ -1,12 +0,0 @@
-post_install() {
- echo ">>> texlive: updating the filename database..."
- /usr/bin/mktexlsr
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: texlive-bibtexextra/repos/extra-any/texlive.install (from rev 235483, texlive-bibtexextra/trunk/texlive.install)
===================================================================
--- texlive.install (rev 0)
+++ texlive.install 2015-04-06 00:21:09 UTC (rev 235484)
@@ -0,0 +1,12 @@
+post_install() {
+ echo ">>> texlive: updating the filename database..."
+ /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list