diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:36:33 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:36:33 (GMT) |
commit | 23ed0d89033c36dd2674aadf3320aa393a26422b (patch) | |
tree | 0731a1010e7eba099c44b0e34ada4aa46ce13472 /abs/core | |
parent | 4026fda18d567e3ca47a11c2eff4f1416ed6c351 (diff) | |
download | linhes_pkgbuild-23ed0d89033c36dd2674aadf3320aa393a26422b.zip linhes_pkgbuild-23ed0d89033c36dd2674aadf3320aa393a26422b.tar.gz linhes_pkgbuild-23ed0d89033c36dd2674aadf3320aa393a26422b.tar.bz2 |
xorg-fonts-100dpi: recompile
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/xorg-fonts-100dpi/PKGBUILD | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/abs/core/xorg-fonts-100dpi/PKGBUILD b/abs/core/xorg-fonts-100dpi/PKGBUILD index 1c3cb5f..20637d0 100644 --- a/abs/core/xorg-fonts-100dpi/PKGBUILD +++ b/abs/core/xorg-fonts-100dpi/PKGBUILD @@ -1,35 +1,43 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $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 pkgver=1.0.1 -pkgrel=1 +pkgrel=3 pkgdesc="X.org 100dpi fonts" -arch=(i686 x86_64) +arch=(any) url="http://xorg.freedesktop.org/" +license=('custom') depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') groups=('xorg') install=xfonts.install -source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.0.tar.bz2 - ${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.1.tar.bz2 - ${url}/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2 - ${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.0.tar.bz2 - ${url}/releases/individual/font/font-bitstream-100dpi-1.0.0.tar.bz2) -md5sums=('443acfe70e26716282f9068730fe92c4' '5d28a30efef966f8dbbaff9a6619f01a'\ - 'e5592de74a5c04e3a2608800dd079197' 'c44d3f730564da465993e9292a33c235'\ - '173352ddec3d26e2b91df1edcf1ae85b') +source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.1.tar.bz2 + ${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.2.tar.bz2 + ${url}/releases/individual/font/font-bh-100dpi-1.0.1.tar.bz2 + ${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.1.tar.bz2 + ${url}/releases/individual/font/font-bitstream-100dpi-1.0.1.tar.bz2) +md5sums=('c754c3f4a5e08442bf6972b9466625ed' + '1c3a2c26bd3f6e406fbadc7380efa369' + '8af580b87e17ddacdf0ce3d775248387' + 'a2b3951dbc6ddb2e4c7e09519dd13333' + '3b8748f8029c53595e4a4a1b23fa790a') build() { - cd ${startdir}/src - for dir in font-*-100dpi-1.0.0 font-*-100dpi-1.0.1; do - pushd ${dir} + 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-mapfiles=/usr/share/fonts/util \ - --with-fontdir=/usr/share/fonts/100dpi + --with-fontdir=/usr/share/fonts/100dpi make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - popd + make DESTDIR="${pkgdir}" install || return 1 + + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}" || return 1 + popd + fi done - rm -f ${startdir}/pkg/usr/share/fonts/100dpi/fonts.* + rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.* } |