aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-22 08:21:42 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-22 08:56:43 -0300
commit49d6a26d2c6d04e92f67c9f6d63d334eb52e20f7 (patch)
treecb9507c6969e98fe2338a79235e63c6e666e2996
parent62d988c23c89fa35177a3baafa042f204e86be28 (diff)
downloadaports-49d6a26d2c6d04e92f67c9f6d63d334eb52e20f7.tar.bz2
aports-49d6a26d2c6d04e92f67c9f6d63d334eb52e20f7.tar.xz
testing/wqy-zenhei: upgrade to 0.9.47
-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
}