aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-sony-misc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-05 17:31:57 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 06:21:57 +0000
commit28e510980f8736b03bf02ea0e572cb7925643cfd (patch)
treec85d69577b6ba92fda525abd073e61067ae4a223 /main/font-sony-misc/APKBUILD
parent23e07e3ea0c502f926b9951b84e0a0095bbcc3b6 (diff)
downloadaports-28e510980f8736b03bf02ea0e572cb7925643cfd.tar.bz2
aports-28e510980f8736b03bf02ea0e572cb7925643cfd.tar.xz
main/font-sony-misc: no tests, modernise, MIT old style 2
Diffstat (limited to 'main/font-sony-misc/APKBUILD')
-rw-r--r--main/font-sony-misc/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/main/font-sony-misc/APKBUILD b/main/font-sony-misc/APKBUILD
index b277ca3f88..f2ec130cf3 100644
--- a/main/font-sony-misc/APKBUILD
+++ b/main/font-sony-misc/APKBUILD
@@ -1,42 +1,40 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-sony-misc
pkgver=1.0.3
-pkgrel=0
-pkgdesc="X.org misc font"
+pkgrel=1
+pkgdesc="X.org Sony fonts"
url="http://xorg.freedesktop.org/"
-arch="all"
-license="custom"
+arch="noarch"
+license="MIT"
+options="!check" # Cannot test a font.
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="font-util-dev bdftopcf"
install=
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc \
- || return 1
- make || return 1
+ --with-fontdir=/usr/share/fonts/misc
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" \
MKFONTDIR=: \
MKFONTSCALE=: \
FCCACHE=: \
- install || return 1
+ install
}
-md5sums="beef61a9b0762aba8af7b736bb961f86 font-sony-misc-1.0.3.tar.bz2"
-sha256sums="2043a326ba347c9da5ca1e9bc363e2521c3ea40b43b1f9662d333efd4867cff5 font-sony-misc-1.0.3.tar.bz2"
sha512sums="c397b4e5081b2946799d701b8c48fca9fd2d55b8fa1dd96d2b29c5cd9996bb7356ae12671bf3bd964e6313bdc154020ed6377534e59ce53067e955e4b37aee1d font-sony-misc-1.0.3.tar.bz2"