Date: Sunday, October 29, 2017 @ 22:30:43
  Author: bisson
Revision: 308616

upstream update

Modified:
  ttf-junicode/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-10-29 22:07:34 UTC (rev 308615)
+++ PKGBUILD    2017-10-29 22:30:43 UTC (rev 308616)
@@ -3,25 +3,26 @@
 # Contributor: Firmicus <francois.archlinux.org>
 
 pkgname=ttf-junicode
-pkgver=0.7.8
-pkgrel=3
-pkgdesc='Junius-Unicode: a Unicode font targeted at medievalists'
+pkgver=1.001
+pkgrel=1
+pkgdesc='Junius-Unicode: Font for medievalists'
 url='http://junicode.sourceforge.net'
 license=('custom:OFL')
 arch=('any')
+makedepends=('poppler')
 depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 
'fontconfig')
-source=("https://downloads.sourceforge.net/junicode/junicode-${pkgver//\./-}.zip";
+source=("https://downloads.sourceforge.net/junicode/junicode-${pkgver}.zip";
         'LICENSE')
-sha256sums=('7427c32a9383dd1ce485d202f4767b3baa79d4eae3a74b8ff2a10c2d8a84f3d1'
+sha256sums=('64128229678d0fe1ae6f2897533932011af7dfcdeeba4d1148e45a8c6e439953'
             'ca122f3bda0154f692817450168cb650a7fc59ef96c93582acd2e7a744d464d3')
 
 install=install
 
 package() {
-       cd "${srcdir}/junicode"
-       install -m755 -d "${pkgdir}/usr/share/fonts/TTF"
-       install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
-       install -m644 fonts/*.ttf "${pkgdir}/usr/share/fonts/TTF"
-       install -m644 doc/* "${pkgdir}/usr/share/doc/${pkgname}"
-       install -m644 -D ../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+       cd "${srcdir}"
+       install -m755 -d 
"${pkgdir}/usr/share/"{fonts/TTF,{doc,licenses}/${pkgname}}
+
+       install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF"
+       install -m644 doc/Junicode.pdf "${pkgdir}/usr/share/doc/${pkgname}"
+       ln -s "../../doc/${pkgname}/Junicode.pdf" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

Reply via email to