pkgname=ttf-overlock
pkgver=1.0
pkgrel=1
pkgdesc='Overlock typeface font'
arch=('any')
license=('custom:OFL')
url='http://www.fontsquirrel.com/fonts/overlock'
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=('fontforge')
install=ttf.install
source=("http://www.fontsquirrel.com/fonts/download/overlock")

package() {
  cd "$srcdir"

  install -d "$pkgdir/usr/share/fonts/TTF/"
  install -m644 Overlock* "$pkgdir/usr/share/fonts/TTF/"

  # install license
  install -Dm644 "${srcdir}/SIL Open Font License.txt" \
    "${pkgdir}/usr/share/licenses/${pkgname}/SIL Open Font License.txt"
}
md5sums=('8e8e479b4521f32a7f173000d89aa06b')