From ce960f3d72b052477880b12409b4d5f1eaaec870 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 12 Jul 2018 23:31:21 -0500 Subject: user/encodings: pull in, take, fix --- user/encodings/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/encodings/APKBUILD (limited to 'user/encodings/APKBUILD') diff --git a/user/encodings/APKBUILD b/user/encodings/APKBUILD new file mode 100644 index 000000000..84c49ddab --- /dev/null +++ b/user/encodings/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: A. Wilcox +pkgname=encodings +pkgver=1.0.4 +pkgrel=2 +pkgdesc="Font encoding files for X11" +url="https://www.X.Org/" +arch="noarch" +license="Public-Domain" +depends="" +makedepends="cmd:gzip mkfontscale util-macros" +source="https://www.X.Org/releases/individual/font/encodings-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-encodingsdir=/usr/share/fonts/encodings + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="838d1c9489e9880bf1982dc14d34a48b624b7bc2c0fffbf28e2c24e1546b0602357ca31afef100053481d6a18e357085ef74ac7a82261daa1ac1398bc1e05d17 encodings-1.0.4.tar.bz2" -- cgit v1.2.3-70-g09d2