aboutsummaryrefslogtreecommitdiffstats
path: root/main/libfontenc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-06 02:43:04 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:38 +0000
commit0782737592e52c6d6f74bb2eb9a3edaf23f8916a (patch)
tree8c92c19d47daef8e4e308544878f9a09b817acde /main/libfontenc/APKBUILD
parent915f9d26336f2e7683a026301d109a47a5150c36 (diff)
downloadaports-0782737592e52c6d6f74bb2eb9a3edaf23f8916a.tar.bz2
aports-0782737592e52c6d6f74bb2eb9a3edaf23f8916a.tar.xz
main/libfontenc: modernise, fix deps, mark no test
Diffstat (limited to 'main/libfontenc/APKBUILD')
-rw-r--r--main/libfontenc/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/main/libfontenc/APKBUILD b/main/libfontenc/APKBUILD
index 3bbce017ef..575b7978ab 100644
--- a/main/libfontenc/APKBUILD
+++ b/main/libfontenc/APKBUILD
@@ -1,24 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfontenc
pkgver=1.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="X11 font encoding library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
depends=
-makedepends="xproto zlib-dev"
+makedepends="util-macros xproto zlib-dev"
subpackages="$pkgname-dev"
source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,14 +21,13 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --with-encodingsdir=/usr/share/fonts/encodings \
- || return 1
- make || return 1
+ --with-encodingsdir=/usr/share/fonts/encodings
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
md5sums="0920924c3a9ebc1265517bdd2f9fde50 libfontenc-1.1.3.tar.bz2"
sha256sums="70588930e6fc9542ff38e0884778fbc6e6febf21adbab92fd8f524fe60aefd21 libfontenc-1.1.3.tar.bz2"