aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-06 02:45:27 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:40 +0000
commit3e4d4b925ad10b61b7eb1bf6aa01067179af5d46 (patch)
treee8432491b437f7b4541bdcfe3e134d8626f13ade
parent31c59c017274ca0eb7158a64fe90bc99b23035b9 (diff)
downloadaports-3e4d4b925ad10b61b7eb1bf6aa01067179af5d46.tar.gz
aports-3e4d4b925ad10b61b7eb1bf6aa01067179af5d46.tar.bz2
aports-3e4d4b925ad10b61b7eb1bf6aa01067179af5d46.tar.xz
main/mkfontscale: modernise, fix deps, fix desc, no test
-rw-r--r--main/mkfontscale/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index accebba641..f4939ab156 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/APKBUILD
@@ -1,14 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkfontscale
pkgver=1.1.2
-pkgrel=0
-pkgdesc="X.org font scale"
+pkgrel=1
+pkgdesc="Create scalable font files for X.Org"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
subpackages="$pkgname-doc"
depends=
-makedepends="libfontenc-dev freetype-dev xproto zlib-dev"
+makedepends="libfontenc-dev freetype-dev util-macros xproto zlib-dev"
install=
triggers="$pkgname.trigger=/usr/share/fonts/*"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
@@ -20,13 +21,12 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="5c3331f66cd523afe95347aa36440655ba8fdbc716c5987a24ad624c1fbd718c4a8d67aa36330f6d5ab2eb5a6195a409a041954568c0a3375c0e2aeb6a955601 mkfontscale-1.1.2.tar.bz2"