[arch-commits] Commit in texlive-humanities/repos (3 files)

2016-06-19 Thread Rémy Oudompheng
Date: Sunday, June 19, 2016 @ 22:34:48
  Author: remy
Revision: 270235

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 270234, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 270234, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   48 
 texlive.install |   12 
 2 files changed, 60 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 270234, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2016-06-19 22:34:48 UTC (rev 270235)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-humanities
+pkgver=2016.41380
+_revnr=${pkgver#2016.}
+pkgrel=1
+pkgdesc="TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities"
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+optdepends=('texlive-pictures: for package qtree')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+install=texlive.install
+md5sums=('9b2587de7ce27ce50d1ab656fcc9004b')
+
+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/diadia/diadia.lua 
${pkgdir}/usr/bin/diadia
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 270234, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2016-06-19 22:34:48 UTC (rev 270235)
@@ -0,0 +1,12 @@
+post_install() {
+   echo">>> texlive: updating the filename database..."
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}


[arch-commits] Commit in texlive-humanities/repos (3 files)

2015-09-01 Thread Rémy Oudompheng
Date: Tuesday, September 1, 2015 @ 12:35:59
  Author: remy
Revision: 245157

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 245156, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 245156, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   45 +
 texlive.install |   12 
 2 files changed, 57 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 245156, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2015-09-01 10:35:59 UTC (rev 245157)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-humanities
+pkgver=2015.37555
+_revnr=${pkgver#2015.}
+pkgrel=1
+pkgdesc="TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities"
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+optdepends=('texlive-pictures: for package qtree')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+install=texlive.install
+md5sums=('a65cb6dc89e44ea3e56fa0a98cf54706')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 245156, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2015-09-01 10:35:59 UTC (rev 245157)
@@ -0,0 +1,12 @@
+post_install() {
+   echo">>> texlive: updating the filename database..."
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}


[arch-commits] Commit in texlive-humanities/repos (3 files)

2014-08-13 Thread Rémy Oudompheng
Date: Thursday, August 14, 2014 @ 01:28:29
  Author: remy
Revision: 219709

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 219708, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 219708, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   45 +
 texlive.install |   12 
 2 files changed, 57 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 219708, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2014-08-13 23:28:29 UTC (rev 219709)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Firmicus firmicus āt gmx dōt net
+
+pkgname=texlive-humanities
+pkgver=2014.34877
+_revnr=${pkgver#2014.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+optdepends=('texlive-pictures: for package qtree')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+install=texlive.install
+md5sums=('3c4e147b516fc798456589c4cf9ab601')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 219708, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2014-08-13 23:28:29 UTC (rev 219709)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



[arch-commits] Commit in texlive-humanities/repos (3 files)

2013-07-02 Thread Rémy Oudompheng
Date: Tuesday, July 2, 2013 @ 23:55:15
  Author: remy
Revision: 189312

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 189311, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 189311, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   44 
 texlive.install |   12 
 2 files changed, 56 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 189311, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-07-02 21:55:15 UTC (rev 189312)
@@ -0,0 +1,44 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+
+pkgname=texlive-humanities
+pkgver=2013.30815
+_revnr=${pkgver#2013.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('2845b842cd238dd34bc297dd66d1545d')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 189311, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-07-02 21:55:15 UTC (rev 189312)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



[arch-commits] Commit in texlive-humanities/repos (3 files)

2013-04-18 Thread Rémy Oudompheng
Date: Friday, April 19, 2013 @ 01:50:29
  Author: remy
Revision: 183212

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 183211, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 183211, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   44 
 texlive.install |   12 
 2 files changed, 56 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 183211, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-04-18 23:50:29 UTC (rev 183212)
@@ -0,0 +1,44 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+
+pkgname=texlive-humanities
+pkgver=2012.29347
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('dc314ce3140198458ff427b3483ec87c')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 183211, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-04-18 23:50:29 UTC (rev 183212)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



[arch-commits] Commit in texlive-humanities/repos (3 files)

2012-11-18 Thread Rémy Oudompheng
Date: Monday, November 19, 2012 @ 02:44:21
  Author: remy
Revision: 171580

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 171579, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 171579, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   44 
 texlive.install |   12 
 2 files changed, 56 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 171579, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-11-19 07:44:21 UTC (rev 171580)
@@ -0,0 +1,44 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+
+pkgname=texlive-humanities
+pkgver=2012.28280
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('c39b2f9eee6f4221f626dd1214b4924d')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 171579, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-11-19 07:44:21 UTC (rev 171580)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



[arch-commits] Commit in texlive-humanities/repos (3 files)

2012-06-26 Thread Rémy Oudompheng
Date: Tuesday, June 26, 2012 @ 16:20:04
  Author: remy
Revision: 162407

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 162406, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 162406, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   44 
 texlive.install |   12 
 2 files changed, 56 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 162406, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-06-26 20:20:04 UTC (rev 162407)
@@ -0,0 +1,44 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+
+pkgname=texlive-humanities
+pkgver=2012.25861
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('573a7d9b8f89fb442acaf7b27d78fd48')
+
+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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 162406, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-06-26 20:20:04 UTC (rev 162407)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



[arch-commits] Commit in texlive-humanities/repos (3 files)

2011-12-04 Thread Rémy Oudompheng
Date: Sunday, December 4, 2011 @ 13:23:51
  Author: remy
Revision: 144332

archrelease: copy trunk to testing-any

Added:
  texlive-humanities/repos/testing-any/
  texlive-humanities/repos/testing-any/PKGBUILD
(from rev 144331, texlive-humanities/trunk/PKGBUILD)
  texlive-humanities/repos/testing-any/texlive.install
(from rev 144331, texlive-humanities/trunk/texlive.install)

-+
 PKGBUILD|   45 +
 texlive.install |   12 
 2 files changed, 57 insertions(+)

Copied: texlive-humanities/repos/testing-any/PKGBUILD (from rev 144331, 
texlive-humanities/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2011-12-04 18:23:51 UTC (rev 144332)
@@ -0,0 +1,45 @@
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-humanities
+pkgver=2011.24631
+_revnr=${pkgver#2011.}
+pkgrel=1
+pkgdesc=TeX Live -  LaTeX packages for law, linguistics, social sciences, and 
humanities
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;)
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('219482f5298fc186a88940d61c988153')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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
+}

Copied: texlive-humanities/repos/testing-any/texlive.install (from rev 144331, 
texlive-humanities/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2011-12-04 18:23:51 UTC (rev 144332)
@@ -0,0 +1,12 @@
+post_install() {
+   echo texlive: updating the filename database...
+   /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}