diff options
Diffstat (limited to 'user/font-misc-misc')
-rw-r--r-- | user/font-misc-misc/APKBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/user/font-misc-misc/APKBUILD b/user/font-misc-misc/APKBUILD index 6a8278eac..1a7cf7b53 100644 --- a/user/font-misc-misc/APKBUILD +++ b/user/font-misc-misc/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=font-misc-misc pkgver=1.1.2 -pkgrel=2 -pkgdesc="Miscellaneous fonts included with X.Org" +pkgrel=3 +pkgdesc="Miscellaneous X11 fonts included with 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" +depends="encodings font-alias fontconfig mkfontdir mkfontscale" +makedepends="bdftopcf font-util-dev util-macros" +subpackages="" source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2" prepare() { @@ -22,19 +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="d0bf74142f9621746846ea7a6fe9ae298a303a09c65e05c7decb4f37b2f513a88d727bf3dc5a3566c30de83b83493f164be0118b41d704464f75700b55018c74 font-misc-misc-1.1.2.tar.bz2" |