summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc99e82ee21a239e0f4a349bc5482ba09e55db62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Robert Kubosz <kubosz.robert@gmail.com>
# Contributor: Vale Cofer-Shabica <vale.cofershabica@gmail.com>

pkgname=urw-classico
pkgver=1.0
pkgrel=5
pkgdesc="URW Classico font from CTAN (for texlive)"
arch=("any")
license=("CUSTOM:alladin")
url="https://www.ctan.org/tex-archive/fonts/urw/classico"
depends=("texlive-core")
source=("http://mirrors.ctan.org/install/fonts/urw/classico.tds.zip"
	"$pkgname.maps"
        "license")
noextract=("classico.tds.zip")
md5sums=('166eb8e7f2e1ca764b02e00aae5e86fb'
         '41c8becd00896ae086209308e1ea86b3'
         '7689a58e80bcc8546b76e397b83a572b')

package() {
    install -m755 -d $pkgdir/usr/share/texmf
    bsdtar -poxf $srcdir/classico.tds.zip -C $pkgdir/usr/share/texmf

    install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
    install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs
    
    install -m755 -d $pkgdir/usr/share/licenses/$pkgname
    install -Dm644 $srcdir/license $pkgdir/usr/share/licenses/$pkgname
}