summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f4eff3671910aabeb1fc09beedd7e82a36cb7f0 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Maintainer: dreieck

_pkgname=ttf-dni
pkgname="${_pkgname}"
pkgver=2.2
_dlver="$(echo ${pkgver} | tr -d '.')"
pkgrel=1
pkgdesc="TrueType D'ni font (from the Myst game series). Contains a normal version, a version with character mapping according to new standard, and an angular (non-round) version."
arch=('any')
url="http://linguists.riedl.org/old/sebastian/"
license=('custom')

depends=(
)

makedepends=(
  "fontconfig"
  "unzip"
  "xorg-mkfontscale"
  "xorg-mkfontdir"
  "xorg-xset"
)

provides=("ttf-dniscript=${pkgver}")

install='dniscript.install'

source=(
  "http://linguists.riedl.org/old/sebastian/dniscrpt${_dlver}.zip"
  "website.html::${url}"
  "license-dummy.txt"
  "${install}"
)

sha256sums=(
  "11e684041c2a8baecb4868442ecb6036c42f97d5bd96785f562ca1855697c466"
  "SKIP"
  "SKIP"
  "SKIP"
)

prepare() {
  cd "${srcdir}"
  echo "${url}" > "${srcdir}/website.url"
}

package() {
  cd "${srcdir}"

  install -D -v -m644 "D'NI_ANG.TTF" "${pkgdir}/usr/share/fonts/dniscript/dni_ang.ttf"
  install -D -v -m644 "D'NI_SCR.TTF" "${pkgdir}/usr/share/fonts/dniscript/dni_scr.ttf"
  install -D -v -m644 "D'NI_SLM.TTF" "${pkgdir}/usr/share/fonts/dniscript/dni_slm.ttf"

  install -D -v -m644 license-dummy.txt "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
  install -D -v -m644 README.HTM "${pkgdir}/usr/share/doc/${_pkgname}/readme.html"
  install -D -v -m644 WHATSNEW.TXT "${pkgdir}/usr/share/doc/${_pkgname}/whatsnew.txt"
  install -D -v -m644 website.html "${pkgdir}/usr/share/doc/${_pkgname}/website.html"
  install -D -v -m644 website.url "${pkgdir}/usr/share/doc/${_pkgname}/website.url"
}