summaryrefslogtreecommitdiff
path: root/libre/xorg-fonts-100dpi/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
commitfcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch)
tree60bf5147d7608e6217b37e6807c386b3a43a2b36 /libre/xorg-fonts-100dpi/PKGBUILD
parent19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff)
parentb0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff)
downloadabslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/xorg-fonts-100dpi/PKGBUILD')
-rw-r--r--libre/xorg-fonts-100dpi/PKGBUILD28
1 files changed, 18 insertions, 10 deletions
diff --git a/libre/xorg-fonts-100dpi/PKGBUILD b/libre/xorg-fonts-100dpi/PKGBUILD
index f4a3d5226..cce9f6a75 100644
--- a/libre/xorg-fonts-100dpi/PKGBUILD
+++ b/libre/xorg-fonts-100dpi/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: fauno <fauno@kiwwwi.com.ar>
pkgname=xorg-fonts-100dpi
pkgver=1.0.3
-pkgrel=2.parabola1
+pkgrel=2.parabola2
pkgdesc="X.org 100dpi fonts"
arch=(any)
url="http://xorg.freedesktop.org/"
@@ -16,24 +16,32 @@ replaces=('xorg-fonts-100dpi-libre')
install=xfonts.install
source=(${url}/releases/individual/font/font-adobe-100dpi-$pkgver.tar.bz2
${url}/releases/individual/font/font-bitstream-100dpi-$pkgver.tar.bz2)
+md5sums=('1347c3031b74c9e91dc4dfa53b12f143'
+ '6b223a54b15ecbd5a1bc52312ad790d8')
build() {
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-fontdir=/usr/share/fonts/100dpi
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}" || return 1
+ make
popd
fi
done
- rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.*
}
-md5sums=('1347c3031b74c9e91dc4dfa53b12f143'
- '6b223a54b15ecbd5a1bc52312ad790d8')
+
+package() {
+ cd "${srcdir}"
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ for dir in font-*-100dpi*; do
+ if [ -d "${dir}" ]; then
+ pushd ${dir}
+ make DESTDIR="${pkgdir}" install
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}"
+ popd
+ fi
+ done
+ rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.*
+} \ No newline at end of file