summaryrefslogtreecommitdiff
path: root/user/intlfonts/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-29 21:33:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-29 21:33:24 +0000
commit4260bb75223fb4e3c2bb12a4147aefc86d58b30f (patch)
tree3a6b9d6c5c50c3368a119b50ecb88101c4d3945c /user/intlfonts/APKBUILD
parent3b1018b4ef5b326e4703e3d2a1fc732e7e50d0b0 (diff)
downloadpackages-4260bb75223fb4e3c2bb12a4147aefc86d58b30f.tar.gz
packages-4260bb75223fb4e3c2bb12a4147aefc86d58b30f.tar.bz2
packages-4260bb75223fb4e3c2bb12a4147aefc86d58b30f.tar.xz
packages-4260bb75223fb4e3c2bb12a4147aefc86d58b30f.zip
user/intlfonts: new package
Diffstat (limited to 'user/intlfonts/APKBUILD')
-rw-r--r--user/intlfonts/APKBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/user/intlfonts/APKBUILD b/user/intlfonts/APKBUILD
new file mode 100644
index 000000000..8459dd241
--- /dev/null
+++ b/user/intlfonts/APKBUILD
@@ -0,0 +1,61 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=intlfonts
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="GNU typefaces for a wide variety of scripts"
+url="https://directory.fsf.org/wiki/Intlfonts"
+arch="noarch"
+options="!check" # No test suite.
+license="GPL-2.0-only"
+depends="fontconfig mkfontdir mkfontscale"
+makedepends="bdftopcf"
+subpackages=""
+source="https://ftp.gnu.org/gnu/intlfonts/intlfonts-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-compress \
+ --with-bdf=no \
+ --with-fontdir="$pkgdir"/usr/share/fonts/X11/misc \
+ --with-truetype=yes
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ mv "$pkgdir"/usr/share/fonts/X11/misc/TrueType \
+ "$pkgdir"/usr/share/fonts/X11/TTF
+ rm "$pkgdir"/usr/share/fonts/X11/misc/fonts.{alias,dir}
+
+ # font-daewoo-misc
+ rm "$pkgdir"/usr/share/fonts/X11/misc/hanglg16.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/hanglm16.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/hanglm24.pcf.gz
+
+ # font-isas-misc
+ rm "$pkgdir"/usr/share/fonts/X11/misc/gb16fs.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/gb16st.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/gb24st.pcf.gz
+
+ # font-jis-misc
+ rm "$pkgdir"/usr/share/fonts/X11/misc/jiskan16.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/jiskan24.pcf.gz
+
+ # font-misc-misc
+ rm "$pkgdir"/usr/share/fonts/X11/misc/k14.pcf.gz
+
+ # font-sony-misc
+ rm "$pkgdir"/usr/share/fonts/X11/misc/8x16rk.pcf.gz
+ rm "$pkgdir"/usr/share/fonts/X11/misc/12x24rk.pcf.gz
+}
+
+sha512sums="c11508335cf0f819e7907a6b16c305fbfbf1182dbdea939773482bda3c0f27d70ba427ca3d22c62f4190c24f35bb2bcde4e4fa185aff7f4964293263f7b4304e intlfonts-1.2.1.tar.gz"