diff options
Diffstat (limited to 'main/font-alias')
-rw-r--r-- | main/font-alias/APKBUILD | 27 |
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" |