summaryrefslogtreecommitdiff
path: root/user/font-sony-misc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/font-sony-misc/APKBUILD')
-rw-r--r--user/font-sony-misc/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/user/font-sony-misc/APKBUILD b/user/font-sony-misc/APKBUILD
index 59a3c31dd..7ce54a805 100644
--- a/user/font-sony-misc/APKBUILD
+++ b/user/font-sony-misc/APKBUILD
@@ -2,13 +2,13 @@
pkgname=font-sony-misc
pkgver=1.0.3
pkgrel=3
-pkgdesc="Sony fonts"
+pkgdesc="X11 fonts from Sony"
url="https://www.X.Org/"
arch="noarch"
-options="!check" # Cannot test a font.
license="MIT"
-depends="encodings font-alias fontconfig"
-makedepends="bdftopcf font-util-dev mkfontdir mkfontscale util-macros"
+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() {
@@ -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="c397b4e5081b2946799d701b8c48fca9fd2d55b8fa1dd96d2b29c5cd9996bb7356ae12671bf3bd964e6313bdc154020ed6377534e59ce53067e955e4b37aee1d font-sony-misc-1.0.3.tar.bz2"