summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-fonts-misc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xorg-fonts-misc')
-rw-r--r--abs/core/xorg-fonts-misc/PKGBUILD22
-rw-r--r--abs/core/xorg-fonts-misc/xfonts.install5
2 files changed, 16 insertions, 11 deletions
diff --git a/abs/core/xorg-fonts-misc/PKGBUILD b/abs/core/xorg-fonts-misc/PKGBUILD
index 61a4a85..ad87867 100644
--- a/abs/core/xorg-fonts-misc/PKGBUILD
+++ b/abs/core/xorg-fonts-misc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 71692 2010-03-08 13:10:38Z jgc $
+# $Id: PKGBUILD 150380 2012-02-17 10:25:47Z allan $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-fonts-misc
@@ -37,17 +37,27 @@ md5sums=('817ceb99636c873ad7679fe2a468678d'
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/misc || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --with-fontdir=/usr/share/fonts/misc
+ 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/*/fonts.*
-}
+} \ No newline at end of file
diff --git a/abs/core/xorg-fonts-misc/xfonts.install b/abs/core/xorg-fonts-misc/xfonts.install
index 6b5cf74..7d21ab5 100644
--- a/abs/core/xorg-fonts-misc/xfonts.install
+++ b/abs/core/xorg-fonts-misc/xfonts.install
@@ -13,8 +13,3 @@ post_upgrade() {
post_remove() {
post_install $1
}
-
-op=$1
-shift
-
-$op $*