From 1f8fc9e5d8db515a8f8380dce35e899a8d4069ee Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 13 Jul 2018 02:11:01 -0500 Subject: user/font-cursor-misc: pull in, take, fix --- user/font-cursor-misc/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/font-cursor-misc/APKBUILD (limited to 'user/font-cursor-misc/APKBUILD') diff --git a/user/font-cursor-misc/APKBUILD b/user/font-cursor-misc/APKBUILD new file mode 100644 index 000000000..8056a774b --- /dev/null +++ b/user/font-cursor-misc/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: A. Wilcox +pkgname=font-cursor-misc +pkgver=1.0.3 +pkgrel=2 +pkgdesc="Cursor fonts from X.Org" +url="https://www.X.Org/" +arch="noarch" +options="!check" # Can't test fonts. +license="Public-Domain" +depends="encodings font-alias fontconfig mkfontdir mkfontscale util-macros" +makedepends="bdftopcf font-util-dev" +source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-fontdir=/usr/share/fonts/misc + make +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" \ + MKFONTDIR=: \ + MKFONTSCALE=: \ + FCCACHE=: \ + install +} + +sha512sums="7ecb7f1c3c11da8b81fc0ff121fa6c1026b11f6c7878ffd0e4959df036511bc579d6b0552422ce13e26a8d188e3406631d2de55cab6b29bc7fce0416a8cffc83 font-cursor-misc-1.0.3.tar.bz2" -- cgit v1.2.3-70-g09d2