Want more features on Pastebin? Sign Up, it's FREE!
Guest

latex-pgfornaments

By: a guest on Jan 27th, 2015  |  syntax: Bash  |  size: 1.17 KB  |  views: 175  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #
  2. # pgfornament - Produces vector ornaments with PGF/TiKZ fo LaTeX
  3. #
  4. # maintainer: i_magnific0 (i_magnific0@yahoo.com)
  5.  
  6. pname=pgfornament
  7. pkgname=latex-$pname
  8. pkgver=0.1
  9. pkgrel=3
  10. pkgdesc="Produces vector ornaments with PGF/TiKZ fo LaTeX"
  11. arch=('any')
  12. url="http://altermundus.com/pages/tkz/ornament/index.html"
  13. license=('GPL')
  14. depends=('texlive-bin' 'texlive-pictures')
  15. source=("http://altermundus.com/pages/downloads/packages/pgfornament/pgfornament.zip")
  16. md5sums=('8f4d98fab404b2400034703204f543a8')
  17.          
  18. package() {
  19.   pdir="$pkgdir/usr/share/texmf-dist/tex/latex/${pname}"
  20.   gdir="$pkgdir/usr/share/texmf-dist/tex/generic"
  21.  
  22.   cd $srcdir/$pname
  23.   install -dm755 $pdir
  24.   install -dm755 $pdir/am
  25.   install -dm755 $pdir/examples
  26.   install -dm755 $pdir/vectorian
  27.   install -dm755 $gdir/am
  28.   install -dm755 $gdir/vectorian       
  29.  
  30.   install -Dm644 *.*           $pdir
  31.   install -Dm644 *.code.tex    $pkgdir/usr/share/texmf-dist/tex/latex/
  32.  
  33.   install -Dm644 am/*.*        $pdir/am
  34.   install -Dm644 examples/*.*  $pdir/examples
  35.   install -Dm644 vectorian/*.* $pdir/vectorian
  36.   install -Dm644 am/*.*        $gdir/am
  37.   install -Dm644 vectorian/*.* $gdir/vectorian
  38. }
clone this paste RAW Paste Data