diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:12:33 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:12:33 (GMT) |
commit | 22ea84ac6f7d6bee05c12e3bff8672fbad753ea3 (patch) | |
tree | d5089aa3b2779c672338075fcb0935752b1e1544 /abs/core/xorg-fonts-misc | |
parent | fd255056dd9f3aa7f2d61c71497fc98039497907 (diff) | |
download | linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.zip linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.gz linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.bz2 |
Xorg update part1
Diffstat (limited to 'abs/core/xorg-fonts-misc')
-rw-r--r-- | abs/core/xorg-fonts-misc/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/core/xorg-fonts-misc/xfonts.install | 5 |
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 $* |