diff options
Diffstat (limited to 'user/font-isas-misc/APKBUILD')
-rw-r--r-- | user/font-isas-misc/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/font-isas-misc/APKBUILD b/user/font-isas-misc/APKBUILD new file mode 100644 index 000000000..6dd2a8b08 --- /dev/null +++ b/user/font-isas-misc/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=font-isas-misc +pkgver=1.0.3 +pkgrel=0 +pkgdesc="Chinese X11 fonts from Academia Sinica" +url="https://www.X.Org/" +arch="noarch" +license="MIT" +depends="encodings font-alias fontconfig mkfontdir" +makedepends="bdftopcf util-macros" +subpackages="" +source="https://www.x.org/releases/individual/font/font-isas-misc-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name fonts.dir -exec rm {} + +} + +sha512sums="be6fb1d2c53550a462d1ab010fa7ac913990e83a22d4580c93b8f1f087aa6caa0e46bc87debca2b13b10e5611bd2fe7f6b4240367fb24f59b37f68ffb0e2586b font-isas-misc-1.0.3.tar.bz2" |