summaryrefslogtreecommitdiff
path: root/libre/xorg-fonts-75dpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xorg-fonts-75dpi/PKGBUILD')
-rw-r--r--libre/xorg-fonts-75dpi/PKGBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/libre/xorg-fonts-75dpi/PKGBUILD b/libre/xorg-fonts-75dpi/PKGBUILD
index e02711ab5..21798e4a0 100644
--- a/libre/xorg-fonts-75dpi/PKGBUILD
+++ b/libre/xorg-fonts-75dpi/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
pkgname=xorg-fonts-75dpi
pkgver=1.0.3
-pkgrel=2.parabola1
+pkgrel=2.parabola2
pkgdesc="X.org 75dpi fonts"
arch=(any)
url="http://xorg.freedesktop.org/"
@@ -15,22 +15,32 @@ replaces=('xorg-fonts-75dpi-libre')
install=xfonts.install
source=(${url}/releases/individual/font/font-adobe-75dpi-$pkgver.tar.bz2
${url}/releases/individual/font/font-bitstream-75dpi-$pkgver.tar.bz2)
+md5sums=('6c9f26c92393c0756f3e8d614713495b'
+ 'd7c0588c26fac055c0dd683fdd65ac34')
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/75dpi || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}" || return 1
+ --with-fontdir=/usr/share/fonts/75dpi
+ make
popd
fi
done
- rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.*
}
-md5sums=('6c9f26c92393c0756f3e8d614713495b'
- 'd7c0588c26fac055c0dd683fdd65ac34')
+
+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%-75dpi-*}"
+ popd
+ fi
+ done
+ rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.*
+} \ No newline at end of file