[arch-commits] Commit in texlive-music/trunk (PKGBUILD)
François Charette
francois at archlinux.org
Tue Nov 11 07:34:59 UTC 2008
Date: Tuesday, November 11, 2008 @ 02:34:59
Author: francois
Revision: 18928
changed $startdir
Modified:
texlive-music/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-11 07:34:21 UTC (rev 18927)
+++ PKGBUILD 2008-11-11 07:34:59 UTC (rev 18928)
@@ -15,11 +15,15 @@
md5sums=('0d35fb91f72c3c570ca1465a04ecd0c9')
build() {
- cd $startdir/src
+ cd $srcdir
+ install -m755 -d $pkgdir/usr/share/texmf-var/arch/installedpkgs || return 1
+ sed -i '/^#/d' CONTENTS || return 1
+ _revnr=`echo $pkgver | sed 's/2008\.//'`
+ install -m644 CONTENTS $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
for p in *.tar.lzma; do
lzma --force -dc $p | tar xf - || return 1
done
- install -m755 -d $startdir/pkg/usr/share || return 1
- find texmf* -type d -exec install -d -m755 $startdir/pkg/usr/share/'{}' \; || exit 1
- find texmf* -type f -exec install -m644 '{}' $startdir/pkg/usr/share/'{}' \; || exit 1
+ install -m755 -d $pkgdir/usr/share || return 1
+ find texmf* -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; || exit 1
+ find texmf* -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; || exit 1
}
More information about the arch-commits
mailing list