diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-02 00:15:30 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-02 00:15:30 +0000 |
commit | 9e3cfbb1d1ac08594f05d951b49b3ff894d92771 (patch) | |
tree | 51882a9ee3c02b267372ea1ec32b0f34dc987d51 /user/font-adobe-utopia-100dpi/APKBUILD | |
parent | 0ce0071dd83556a0fbba81321dab379f5c332946 (diff) | |
download | packages-9e3cfbb1d1ac08594f05d951b49b3ff894d92771.tar.gz packages-9e3cfbb1d1ac08594f05d951b49b3ff894d92771.tar.bz2 packages-9e3cfbb1d1ac08594f05d951b49b3ff894d92771.tar.xz packages-9e3cfbb1d1ac08594f05d951b49b3ff894d92771.zip |
user/font-adobe-utopia-100dpi: new package
Diffstat (limited to 'user/font-adobe-utopia-100dpi/APKBUILD')
-rw-r--r-- | user/font-adobe-utopia-100dpi/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/user/font-adobe-utopia-100dpi/APKBUILD b/user/font-adobe-utopia-100dpi/APKBUILD new file mode 100644 index 000000000..6170f9695 --- /dev/null +++ b/user/font-adobe-utopia-100dpi/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=font-adobe-utopia-100dpi +pkgver=1.0.4 +pkgrel=0 +pkgdesc="100dpi Utopia X11 font from Adobe" +url="https://www.X.Org/" +arch="noarch" +# Okay. +# This is really hairy, but Fedora Legal says the TUG license can apply to the +# X11 distribution[1][2]; it's almost MIT style, but you have to rename the +# font if you modify it in any way. +# [1]: https://fedoraproject.org/wiki/Legal_considerations_for_fonts +# [2]: https://src.fedoraproject.org/cgit/rpms/xorg-x11-fonts.git/tree/xorg-x11-fonts.spec +license="Utopia" +depends="" +makedepends="bdftopcf fontconfig font-util-dev mkfontdir util-macros" +subpackages="" +source="https://www.x.org/releases/individual/font/font-adobe-utopia-100dpi-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="fecb9a9bde99a82787d12779ea579c8696dcce168acd74b478a879ae24d421d5978d5f69da651e8ff3b25dca355960aaa19f69f2bf61e540464887e546a7b94b font-adobe-utopia-100dpi-1.0.4.tar.bz2" |