summaryrefslogtreecommitdiff
path: root/user/font-cursor-misc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 02:37:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 02:37:42 +0000
commitf14753effcd808f668fdbe816f5e8e5dab88bdff (patch)
tree98e2262c913cb1658586cdd4a721162471cee2e6 /user/font-cursor-misc/APKBUILD
parentb2affbcd27291aa9385ce662c97acd349c333d72 (diff)
downloadpackages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.gz
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.bz2
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.xz
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.zip
user/[X11 fonts]: create fonts.dir and fonts.scale on the target system
Diffstat (limited to 'user/font-cursor-misc/APKBUILD')
-rw-r--r--user/font-cursor-misc/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/user/font-cursor-misc/APKBUILD b/user/font-cursor-misc/APKBUILD
index f7f9d9a9c..fe6d4610b 100644
--- a/user/font-cursor-misc/APKBUILD
+++ b/user/font-cursor-misc/APKBUILD
@@ -5,16 +5,16 @@ 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"
-makedepends="bdftopcf font-util-dev mkfontdir mkfontscale util-macros"
+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() {
@@ -26,9 +26,15 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
+ find "$pkgdir" -name fonts.dir -exec rm {} +
}
sha512sums="7ecb7f1c3c11da8b81fc0ff121fa6c1026b11f6c7878ffd0e4959df036511bc579d6b0552422ce13e26a8d188e3406631d2de55cab6b29bc7fce0416a8cffc83 font-cursor-misc-1.0.3.tar.bz2"