aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-alias
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-21 06:42:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-21 06:42:14 +0000
commit9d75d6a8c38ee9e443c96a4ad9c56df6ed81aa0b (patch)
tree7ace352b1b2b759792cc930106b564fb9d91f4c4 /main/font-alias
parent51f8045e7f59883f2b031ec1d99d4d62a44b81e2 (diff)
downloadaports-9d75d6a8c38ee9e443c96a4ad9c56df6ed81aa0b.tar.bz2
aports-9d75d6a8c38ee9e443c96a4ad9c56df6ed81aa0b.tar.xz
main/font-alias: modernize APKBUILD, fixes #7446
Diffstat (limited to 'main/font-alias')
-rw-r--r--main/font-alias/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/font-alias/APKBUILD b/main/font-alias/APKBUILD
index 815fd3894e..8dbe89d8bb 100644
--- a/main/font-alias/APKBUILD
+++ b/main/font-alias/APKBUILD
@@ -1,17 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-alias
pkgver=1.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="X.org font alias files"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
-makedepends=""
+makedepends="util-macros"
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
+check() {
+ cd "$builddir"
+ make check
+}
+
prepare() {
update_config_sub
default_prepare
@@ -23,14 +28,13 @@ build () {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --with-font-rootdir=/usr/share/fonts \
- || return 1
- make || return 1
+ --with-fontrootdir=/usr/share/fonts
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="05abfef4615722d8cf3f21ab1118494522553a75427140d9753b3d312f404735c20766ceacc1b53f9e783ea25ec8f2f6bdb8696525a4962afe29f524ed8b6552 font-alias-1.0.3.tar.bz2"