diff options
-rw-r--r-- | libre/xorg-fonts-100dpi-libre/PKGBUILD | 39 | ||||
-rw-r--r-- | libre/xorg-fonts-100dpi-libre/xfonts.install | 20 | ||||
-rw-r--r-- | libre/xorg-fonts-75dpi-libre/PKGBUILD | 37 | ||||
-rw-r--r-- | libre/xorg-fonts-75dpi-libre/xfonts.install | 20 | ||||
-rw-r--r-- | libre/xorg-fonts-type1-libre/PKGBUILD | 36 | ||||
-rw-r--r-- | libre/xorg-fonts-type1-libre/xfonts.install | 20 |
6 files changed, 172 insertions, 0 deletions
diff --git a/libre/xorg-fonts-100dpi-libre/PKGBUILD b/libre/xorg-fonts-100dpi-libre/PKGBUILD new file mode 100644 index 000000000..4497675be --- /dev/null +++ b/libre/xorg-fonts-100dpi-libre/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 71678 2010-03-08 11:58:02Z jgc $ +# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +pkgname=xorg-fonts-100dpi-libre +pkgver=1.0.2 +pkgrel=1 +pkgdesc="X.org 100dpi fonts" +arch=(any) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +groups=('xorg') +provides=("xorg-fonts-100dpi=$pkgver") +conflicts=('xorg-fonts-100dpi') +replaces=('xorg-fonts-100dpi') +install=xfonts.install +source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.2.tar.bz2 + ${url}/releases/individual/font/font-bitstream-100dpi-1.0.2.tar.bz2) + +build() { + cd "${srcdir}" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + + for dir in font-*-100dpi*; do + if [ -d "${dir}" ]; then + pushd ${dir} + ./configure --prefix=/usr \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}" || return 1 + popd + fi + done + rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.* +} +md5sums=('1518e417b18e22673a8f4e2e4adda47b' + 'af353d08fa119c3da3b5d01f19d91c59') diff --git a/libre/xorg-fonts-100dpi-libre/xfonts.install b/libre/xorg-fonts-100dpi-libre/xfonts.install new file mode 100644 index 000000000..3eb0455c9 --- /dev/null +++ b/libre/xorg-fonts-100dpi-libre/xfonts.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/Type1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* diff --git a/libre/xorg-fonts-75dpi-libre/PKGBUILD b/libre/xorg-fonts-75dpi-libre/PKGBUILD new file mode 100644 index 000000000..25d77b7aa --- /dev/null +++ b/libre/xorg-fonts-75dpi-libre/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 71681 2010-03-08 12:06:26Z jgc $ +# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +pkgname=xorg-fonts-75dpi-libre +pkgver=1.0.2 +pkgrel=1 +pkgdesc="X.org 75dpi fonts" +arch=(any) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) +groups=('xorg') +provides=("xorg-fonts-75dpi=$pkgver") +conflicts=('xorg-fonts-75dpi') +replaces=('xorg-fonts-75dpi') +install=xfonts.install +source=(${url}/releases/individual/font/font-adobe-75dpi-1.0.2.tar.bz2 + ${url}/releases/individual/font/font-bitstream-75dpi-1.0.2.tar.bz2) + +build() { + cd "${srcdir}" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + for dir in *; do + if [ -d "${dir}" ]; then + pushd "${dir}" + ./configure --prefix=/usr \ + --with-fontdir=/usr/share/fonts/75dpi || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}" || return 1 + popd + fi + done + rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.* +} +md5sums=('73e8e5f04943e54b69503dcd90821a5f' + 'e51e4ed02a7c09022134ce1f6714b277') diff --git a/libre/xorg-fonts-75dpi-libre/xfonts.install b/libre/xorg-fonts-75dpi-libre/xfonts.install new file mode 100644 index 000000000..3eb0455c9 --- /dev/null +++ b/libre/xorg-fonts-75dpi-libre/xfonts.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/Type1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* diff --git a/libre/xorg-fonts-type1-libre/PKGBUILD b/libre/xorg-fonts-type1-libre/PKGBUILD new file mode 100644 index 000000000..9389c33fc --- /dev/null +++ b/libre/xorg-fonts-type1-libre/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 71695 2010-03-08 13:31:38Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-fonts-type1-libre +pkgver=7.4 +pkgrel=1 +pkgdesc="X.org Type1 fonts" +arch=(any) +license=('custom') +url="http://xorg.freedesktop.org/" +depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) +provides=("xorg-fonts-type1=${pkgver}") +conflicts=('xorg-fonts-type1') +replaces=('xorg-fonts-type1') +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}" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + for dir in *; do + if [ -d "${dir}" ]; then + pushd "${dir}" + ./configure --prefix=/usr \ + --with-fontdir=/usr/share/fonts/Type1 || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}" || return 1 + popd + fi + done + rm -f "${pkgdir}"/usr/share/fonts/Type1/fonts.* +} diff --git a/libre/xorg-fonts-type1-libre/xfonts.install b/libre/xorg-fonts-type1-libre/xfonts.install new file mode 100644 index 000000000..3eb0455c9 --- /dev/null +++ b/libre/xorg-fonts-type1-libre/xfonts.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/Type1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |