summaryrefslogtreecommitdiff
path: root/main/font-util/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-06 02:53:17 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:40 +0000
commite9a7a8c53125f6cd6fa5454788b92e7821ed9479 (patch)
treef62a4444aebac47bfb41880a40321edd18d87a30 /main/font-util/APKBUILD
parent2136c04e31b5624786c1e7bae5764ee94deae61f (diff)
downloadaports-e9a7a8c53125f6cd6fa5454788b92e7821ed9479.zip
main/font-util: modernise, fix deps, no test
Diffstat (limited to 'main/font-util/APKBUILD')
-rw-r--r--main/font-util/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/font-util/APKBUILD b/main/font-util/APKBUILD
index 58d453ff3ef..6e337e8a54d 100644
--- a/main/font-util/APKBUILD
+++ b/main/font-util/APKBUILD
@@ -1,39 +1,31 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-util
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="X.org font utilities"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
depends="perl"
depends_dev="font-util"
-makedepends="$depends_dev"
+makedepends="$depends_dev util-macros"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
- cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
}
-md5sums="23756dab809f9ec5011bb27fb2c3c7d6 font-util-1.3.1.tar.bz2"
-sha256sums="aa7ebdb0715106dd255082f2310dbaa2cd7e225957c2a77d719720c7cc92b921 font-util-1.3.1.tar.bz2"
sha512sums="9fd6dd4c0a01ede5f0b09ec0f9d316267ca086e2ee9526a43a4e4d6ce3cd67c977293bd3cf440328ca417292fcae1579888b24b7259eaf012230890210d74889 font-util-1.3.1.tar.bz2"