mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
# Contributor: Ivan Tham <pickfire@riseup.net>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=font-wqy-zenhei
|
|
pkgver=0.9.45
|
|
pkgrel=3
|
|
pkgdesc="Hei-Ti style (sans-serif) Chinese outline font"
|
|
url="http://wenq.org/wqy2/index.cgi?ZenHei"
|
|
arch="noarch"
|
|
license="GPL-2.0"
|
|
depends="fontconfig mkfontscale"
|
|
source="https://downloads.sourceforge.net/wqy/wqy-zenhei-$pkgver.tar.gz
|
|
44-wqy-zenhei.conf
|
|
91-wqy-zenhei.conf
|
|
"
|
|
builddir="$srcdir/wqy-zenhei"
|
|
options="!check" # No testsuite
|
|
|
|
replaces="wqy-zenhei"
|
|
provides="wqy-zenhei=$pkgver-r$pkgrel"
|
|
|
|
package() {
|
|
install -Dm644 "$builddir"/wqy-zenhei.ttc \
|
|
-t "$pkgdir"/usr/share/fonts/${pkgname#font-}
|
|
|
|
mkdir -p "$pkgdir"/etc/fonts/conf.d
|
|
for j in "$srcdir"/*.conf; do
|
|
install -Dm644 "$j" -t "$pkgdir"/etc/fonts/conf.avail
|
|
ln -sfv /etc/fonts/conf.avail/${j##*/} \
|
|
"$pkgdir"/etc/fonts/conf.d/${j##*/}
|
|
done
|
|
|
|
sed '/<!-- /d' "$builddir"/43-wqy-zenhei-sharp.conf \
|
|
> "$pkgdir"/etc/fonts/conf.avail/43-wqy-zenhei-sharp.conf
|
|
}
|
|
|
|
sha512sums="
|
|
02bc35891696453e4f730c7e2e3147566b4efc3a30f8d5cf81b1b8f244c629c76d0d812b74555143a5475a70b52d586a6fca52aa2df411649fe0ee2e12fda3a6 wqy-zenhei-0.9.45.tar.gz
|
|
4b3a1ab9e978bff484172951322c7d8de41d306dd86c28a3f4ed5ee3adfbd9742dbcf5ccbe6270bef272e2bef35174396b4a519148dbf3623096ebc222887cf6 44-wqy-zenhei.conf
|
|
65005c4345ae9a78a680fb5d1c1e6837df827fd8f1ddd305f27b4d61190cad833ea5a728fbdbb73f4af0316e022ebffe9e29363b8ef9ee8730ad2a436ee8d18e 91-wqy-zenhei.conf
|
|
"
|