summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9345348ee404b0dc45f490b4793e39ee1df591b1 (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
# Contributor: Marcos Heredia <chelqo@gmail.com>

_font="lobstertwo"
_group="impallari"
pkgname=ttf-${_group}-${_font}
pkgver=1.006
pkgrel=3
pkgdesc="Other lovely bold condensed script, from Pablo Impallari"
arch=(any)
url="http://www.impallari.com/${_font}/"
license=('custom:OFL')
groups=("${_group}-fonts")
depends=('fontconfig' 'xorg-font-utils')
install=updatefont.install
source=(
  "Lobster_Two.zip::https://fonts.google.com/download?family=Lobster%20Two"
#  "https://googlefontdirectory.googlecode.com/hg/ofl/lobstertwo/FONTLOG.txt"
  )
md5sums=(
  'e916a848304ef65cbf852a793e8ef2c4'
#  '72c6cb64d60499ef3b5716cd2925705d'
  )

package() {
  cd ${srcdir}

  install -dm755 "${pkgdir}/usr/share/fonts/TTF/${_group}"
  install -Dpm644 *.ttf "${pkgdir}/usr/share/fonts/TTF/${_group}"

  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
  install -Dpm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/"

#  install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
#  install -Dpm644 FONTLOG.txt "${pkgdir}/usr/share/doc/${pkgname}/"
}