summaryrefslogtreecommitdiff
path: root/libre/xorg-fonts-type1-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-22 00:18:50 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-22 00:18:50 -0600
commitb8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e (patch)
tree5ea72d41d0f6799dd6b2123703133a860810a023 /libre/xorg-fonts-type1-libre/PKGBUILD
parentbbbfa15c7556da095dba31c83f2a73bc2aaa2009 (diff)
parentfed8f532d64588f7ef94befe5b6c8c84eb3b4430 (diff)
downloadabslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.gz
abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.bz2
abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/xorg-fonts-type1-libre/PKGBUILD')
-rw-r--r--libre/xorg-fonts-type1-libre/PKGBUILD26
1 files changed, 18 insertions, 8 deletions
diff --git a/libre/xorg-fonts-type1-libre/PKGBUILD b/libre/xorg-fonts-type1-libre/PKGBUILD
index 3e52ef85a..4904a4477 100644
--- a/libre/xorg-fonts-type1-libre/PKGBUILD
+++ b/libre/xorg-fonts-type1-libre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71695 2010-03-08 13:31:38Z jgc $
+# $Id: PKGBUILD 150375 2012-02-17 09:54:09Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-fonts-type1-libre
pkgver=7.4
-pkgrel=1
-pkgdesc="X.org Type1 fonts without Adobe fonts"
+pkgrel=2
+pkgdesc="X.org Type1 fonts, without nonfree fonts"
arch=(any)
license=('custom')
url="http://xorg.freedesktop.org/"
@@ -20,15 +20,25 @@ md5sums=('27c55f6a938e7153c59fb551b2f491f9'
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
+ --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