diff options
Diffstat (limited to 'main/font-adobe-utopia-type1/APKBUILD')
-rw-r--r-- | main/font-adobe-utopia-type1/APKBUILD | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/main/font-adobe-utopia-type1/APKBUILD b/main/font-adobe-utopia-type1/APKBUILD index 76b499dcfe9..9eafb76d9aa 100644 --- a/main/font-adobe-utopia-type1/APKBUILD +++ b/main/font-adobe-utopia-type1/APKBUILD @@ -1,40 +1,37 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=font-adobe-utopia-type1 -pkgver=1.0.4 -pkgrel=0 +pkgver=1.0.5 +pkgrel=1 pkgdesc="X.org adobe utopia-type1 fonts" -url="http://xorg.freedesktop.org/" -arch="all" +url="https://xorg.freedesktop.org/" +arch="noarch" license="custom" -depends="encodings font-alias mkfontscale mkfontdir fontconfig" +options="!check" +depends="encodings font-alias mkfontscale fontconfig" makedepends="font-util-dev bdftopcf" -install= -source="https://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2" - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - update_config_sub || return 1 -} +source="https://www.x.org/releases/individual/font/font-adobe-utopia-type1-$pkgver.tar.xz" +subpackages="$pkgname-doc" build() { - cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ - --with-fontdir=/usr/share/fonts/utopia-type1 \ - || return 1 - make || return 1 + --with-fontdir=/usr/share/fonts/utopia-type1 + make } package() { - cd "$srcdir"/$pkgname-$pkgver - make -j1 DESTDIR="$pkgdir" \ + make DESTDIR="$pkgdir" \ MKFONTDIR=: \ MKFONTSCALE=: \ FCCACHE=: \ - install || return 1 + install + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -sha512sums="53ff2ce7b17824a0eed1be6c3e3386e51983389f5623e732ac898c4e08769c8720f6d6b7c75b6455e050ec5dc390376747ca4cdb9f831a218f9dd5ee5edcd0d6 font-adobe-utopia-type1-1.0.4.tar.bz2" +sha512sums=" +e30f4c7702f47a3a42206975fbcfec058317681956d246411e50e372b669bdc875c5d7fe28bad7d298bc61b71a997c7836fb6ac16effd223a96723a6e9ece649 font-adobe-utopia-type1-1.0.5.tar.xz +" |