diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 03:37:40 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 03:37:40 -0300 |
commit | c54c235da9f4322a2ad352fd43c5bc875f1daf2d (patch) | |
tree | 780eb64b944e4b6cb4f249ce471c16ac3d025657 /libre/xorg-fonts-type1/PKGBUILD | |
parent | 05fff056ef7ee87f9c44f99a25411767c6375f6e (diff) | |
download | abslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.tar.gz abslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.tar.bz2 abslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.zip |
xorg-fonts-{{100,75}dpi,type1}: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/xorg-fonts-type1/PKGBUILD')
-rw-r--r-- | libre/xorg-fonts-type1/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libre/xorg-fonts-type1/PKGBUILD b/libre/xorg-fonts-type1/PKGBUILD new file mode 100644 index 000000000..95766fb20 --- /dev/null +++ b/libre/xorg-fonts-type1/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 216282 2014-07-02 16:41:27Z fyan $ +# Maintainer (Arch): Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-fonts-type1 +pkgver=7.4 +pkgrel=3.parabola1 +pkgdesc="X.org Type1 fonts, without nonfree fonts" +arch=(any) +license=('custom') +url="http://xorg.freedesktop.org/" +depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) +conflicts=('xorg-fonts-type1-libre') +replaces=('xorg-fonts-type1-libre') +install=xfonts.install +source=(${url}/releases/individual/font/font-bitstream-type1-1.0.2.tar.bz2 + ${url}/releases/individual/font/font-xfree86-type1-1.0.3.tar.bz2) +md5sums=('27c55f6a938e7153c59fb551b2f491f9' + 'df934bfc0339322cee73ee3c5460a648') + +build() { + cd "${srcdir}" + for dir in *; do + if [ -d "${dir}" ]; then + pushd "${dir}" + ./configure --prefix=/usr \ + --with-fontdir=/usr/share/fonts/Type1 + make + popd + fi + done +} + +package() { + cd "${srcdir}" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + for dir in *; do + if [ -d "${dir}" ]; then + pushd "${dir}" + make DESTDIR="${pkgdir}" install + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}" + popd + fi + done + rm -f "${pkgdir}"/usr/share/fonts/Type1/fonts.* +} |