summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 163510ced24feae216a07a8fb8cd9c600ef20f9a (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
# Maintainer: kusanaginoturugi <kusanaginoturugi at gmail dot com>

pkgname=otf-kodomo-maru-gothic
pkgver=1
pkgrel=1
pkgdesc="Japanese rounded gothic font (Handwritten style)"
arch=('any')
url="http://typingart.net/?p=40"
license=('custom')
depends=('fontconfig' 'xorg-font-utils')
makedepends=('unzip')
install=otf-kodomo-maru-gothic.install
source=("http://typingart.net/fontdata/kodomo.zip")
md5sums=('3a1110ea1732efaa7cf440f0ece44269')

DLAGENTS=("http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u --referer ${url}")

package() {
  cd ${srcdir}/
  cp ../typingart_license.txt .

  install -d "${pkgdir}/usr/share/fonts/OTF"
  install -m644 *.otf "${pkgdir}/usr/share/fonts/OTF/"

  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 typingart_license.txt \
                "${pkgdir}/usr/share/licenses/${pkgname}/"
}