aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/wqy-zenhei/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/testing/wqy-zenhei/APKBUILD b/testing/wqy-zenhei/APKBUILD
index 846637853b..f86b88ffb6 100644
--- a/testing/wqy-zenhei/APKBUILD
+++ b/testing/wqy-zenhei/APKBUILD
@@ -1,40 +1,34 @@
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=wqy-zenhei
-pkgver=0.9.45
+pkgver=0.9.47
pkgrel=0
pkgdesc="Hei-Ti style (sans-serif) Chinese outline font"
+options="!check" # No testsuite
url="http://wenq.org/wqy2/index.cgi?ZenHei"
arch="noarch"
license="GPL-2.0"
depends="fontconfig mkfontscale"
-makedepends=""
-install=""
-subpackages=""
source="https://downloads.sourceforge.net/wqy/wqy-zenhei-0.9.45.tar.gz
44-wqy-zenhei.conf
91-wqy-zenhei.conf"
-builddir="$srcdir/"
-
-build() {
- return 0
-}
+builddir="$srcdir/$pkgname"
package() {
mkdir -p "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname \
"$pkgdir"/etc/fonts/conf.avail \
"$pkgdir"/etc/fonts/conf.d
- install -m644 "$srcdir"/$pkgname/$pkgname.ttc \
- "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname || return 1
+ install -m644 "$builddir"/$pkgname.ttc \
+ "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname
for j in "$srcdir"/*.conf; do
- install -m644 "$j" "$pkgdir"/etc/fonts/conf.avail || return 1
+ install -m644 "$j" "$pkgdir"/etc/fonts/conf.avail
ln -sf /etc/fonts/conf.avail/${j##*/} \
"$pkgdir"/etc/fonts/conf.d/${j##*/}
done
- sed '/<!-- /d' "$srcdir"/$pkgname/43-wqy-zenhei-sharp.conf \
+ sed '/<!-- /d' "$builddir"/43-wqy-zenhei-sharp.conf \
> "$pkgdir"/etc/fonts/conf.avail/43-wqy-zenhei-sharp.conf
}