archrelease: copy trunk to community-any
[ArchLinux/community.git] / ttf-hannom / repos / community-any / PKGBUILD
blobb5efaf360a5ffb89e4e3ce15c7f7a3e4eeff31ba
1 # Contributor: Willey Chen <chwilley@gmail.com>
2 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
4 pkgname=ttf-hannom
5 pkgver=2005
6 pkgrel=6
7 pkgdesc='Chinese and Vietnamese TrueType fonts'
8 url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html'
9 license=('custom:non-profit')
10 arch=('any')
11 source=("https://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v${pkgver}/hannomH.zip"
12         'README')
13 sha256sums=('428a31ff62e26dc33080789f8d49c39ac529dbfdbcfd50825f78cbd0903a3936'
14             'df3e54959e5295b2d13857cf75a3f04817b280b2c4e227ca887394ca6d8b0bb7')
16 package() {
17         cd "${srcdir}"
18         install -d "${pkgdir}"/usr/share/fonts/TTF
19         install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF"
20         install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"