summaryrefslogtreecommitdiff
path: root/user/ipaexfont/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ipaexfont/APKBUILD')
-rw-r--r--user/ipaexfont/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/ipaexfont/APKBUILD b/user/ipaexfont/APKBUILD
index dfbbc3436..f76922b9a 100644
--- a/user/ipaexfont/APKBUILD
+++ b/user/ipaexfont/APKBUILD
@@ -2,6 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ipaexfont
pkgver=004.01
+_pkgver="${pkgver%.*}${pkgver#*.}"
pkgrel=0
pkgdesc="Standard Japanese typefaces"
url="https://ipafont.ipa.go.jp/"
@@ -11,8 +12,8 @@ license="IPA"
depends="fontconfig"
makedepends=""
subpackages=""
-source="https://oscdl.ipa.go.jp/IPAexfont/IPAexfont${pkgver/./}.zip"
-builddir="$srcdir/IPAexfont${pkgver/./}"
+source="https://oscdl.ipa.go.jp/IPAexfont/IPAexfont$_pkgver.zip"
+builddir="$srcdir/IPAexfont$_pkgver"
package() {
cd "$builddir"