aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-alias
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-14 19:22:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-14 20:24:40 +0000
commitadda002486cccfe508b6c000870e21617bd54eab (patch)
treec6717cfdced5fcb18377e838166a783f05e7663c /main/font-alias
parentc08ff9082caec00256a169f3f0285f672c370c6b (diff)
downloadaports-adda002486cccfe508b6c000870e21617bd54eab.tar.bz2
aports-adda002486cccfe508b6c000870e21617bd54eab.tar.xz
main/font-alias: upgrade to 1.0.3
Diffstat (limited to 'main/font-alias')
-rw-r--r--main/font-alias/APKBUILD27
1 files changed, 19 insertions, 8 deletions
diff --git a/main/font-alias/APKBUILD b/main/font-alias/APKBUILD
index 97b69de0f5..815fd3894e 100644
--- a/main/font-alias/APKBUILD
+++ b/main/font-alias/APKBUILD
@@ -1,25 +1,36 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-alias
-pkgver=1.0.1
-pkgrel=1
+pkgver=1.0.3
+pkgrel=0
pkgdesc="X.org font alias files"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ update_config_sub
+ default_prepare
+}
+
+build () {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --with-top-fontdir=/usr/share/fonts \
+ --with-font-rootdir=/usr/share/fonts \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-sha512sums="2ec6239aff82fd86b2df40e9fd22851f200de2c082deb810952536ccf317a41ac99180ba322a558da0188655dee864dfce561afc34216f8d85df3e8083743bee font-alias-1.0.1.tar.bz2"
+
+sha512sums="05abfef4615722d8cf3f21ab1118494522553a75427140d9753b3d312f404735c20766ceacc1b53f9e783ea25ec8f2f6bdb8696525a4962afe29f524ed8b6552 font-alias-1.0.3.tar.bz2"