archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / wqy-bitmapfont / repos / community-any / PKGBUILD
blob81489284668034e93a7f141e60f764eec6f7d57d
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
3 # Contributor: Tan Xiang <txcary@gmail.com>
5 pkgname=wqy-bitmapfont
6 pkgver=1.0.0RC1
7 pkgrel=5
8 pkgdesc="A bitmapped Song Ti (serif) Chinese font"
9 arch=('any')
10 url="https://wenq.org/"
11 license=('GPL2' 'custom:"font embedding exception"')
12 source=("https://downloads.sourceforge.net/project/wqy/wqy-bitmapfont/${pkgver/RC/-RC}/wqy-bitmapsong-pcf-${pkgver/RC/-RC}.tar.gz")
13 sha256sums=('d2ebf091151bbc9d2b7a64e794ff1d12546368155dea2ba435805313f0933bbb')
15 package() {
16   cd "$srcdir"/wqy-bitmapsong
18   install -Dm644 *.pcf -t "$pkgdir"/usr/share/fonts/wenquanyi
20   install -Dm644 85-wqy-bitmapsong.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
21   install -d "$pkgdir"/usr/share/fontconfig/conf.default
22   ln -s ../conf.avail/85-wqy-bitmapsong.conf -t "$pkgdir"/usr/share/fontconfig/conf.default
24   install -D -m644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname