summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-fonts-misc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:12:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:12:33 (GMT)
commit22ea84ac6f7d6bee05c12e3bff8672fbad753ea3 (patch)
treed5089aa3b2779c672338075fcb0935752b1e1544 /abs/core/xorg-fonts-misc/PKGBUILD
parentfd255056dd9f3aa7f2d61c71497fc98039497907 (diff)
downloadlinhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.zip
linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.gz
linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.bz2
Xorg update part1
Diffstat (limited to 'abs/core/xorg-fonts-misc/PKGBUILD')
-rw-r--r--abs/core/xorg-fonts-misc/PKGBUILD22
1 files changed, 16 insertions, 6 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