summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 481aa85357099fbcab07271e9087de112282485a (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
# Maintainer: dreieck

_pkgname=ttf-revelation
pkgname="${_pkgname}"
pkgver=latest
pkgrel=2
pkgdesc="The hand-written font for Myst IV Revelation journals."
arch=('any')
url="http://www.rshayter.com/downloads/"
license=('custom')

depends=(
)

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

install='revelation.install'

source=(
  "Revelation.ttf::http://www.rshayter.com/files/Revelation.ttf"
  "license-dummy.txt"
  "${install}"
)

sha256sums=(
  "0e0fde843486d814f3831f9f482884543d315e90e05cb539e8a6bce678b88c74"
  "SKIP"
  "SKIP"
)

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

package() {
  cd "${srcdir}"

  install -D -v -m644 'Revelation.ttf' "${pkgdir}/usr/share/fonts/revelation/Revelation.ttf"

  install -D -v -m644 license-dummy.txt "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
  install -D -v -m644 website.url "${pkgdir}/usr/share/doc/${_pkgname}/website.url"
}