diff options
Diffstat (limited to 'user/font-cursor-misc/APKBUILD')
-rw-r--r-- | user/font-cursor-misc/APKBUILD | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/user/font-cursor-misc/APKBUILD b/user/font-cursor-misc/APKBUILD index 8056a774b..fe6d4610b 100644 --- a/user/font-cursor-misc/APKBUILD +++ b/user/font-cursor-misc/APKBUILD @@ -1,20 +1,20 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=font-cursor-misc pkgver=1.0.3 -pkgrel=2 -pkgdesc="Cursor fonts from X.Org" +pkgrel=3 +pkgdesc="X11 cursor fonts" 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" +depends="encodings font-alias fontconfig mkfontdir" +makedepends="bdftopcf font-util-dev util-macros" +subpackages="" source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2" prepare() { cd "$builddir" - update_config_sub default_prepare + update_config_sub } build() { @@ -22,18 +22,19 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - --with-fontdir=/usr/share/fonts/misc + --prefix=/usr make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" - make -j1 DESTDIR="$pkgdir" \ - MKFONTDIR=: \ - MKFONTSCALE=: \ - FCCACHE=: \ - install + make -j1 DESTDIR="$pkgdir" install + find "$pkgdir" -name fonts.dir -exec rm {} + } sha512sums="7ecb7f1c3c11da8b81fc0ff121fa6c1026b11f6c7878ffd0e4959df036511bc579d6b0552422ce13e26a8d188e3406631d2de55cab6b29bc7fce0416a8cffc83 font-cursor-misc-1.0.3.tar.bz2" |