diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-09 16:17:32 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-09 16:17:32 -0500 |
commit | e60e22efff20b01a74ddcee4f6af4559fe8fdd54 (patch) | |
tree | 891127d44fb80cf90a1f8e178dec9ac8e9bfeb10 /libre | |
parent | 2723bef6e2305f14f1f0d408ad402a07159386d9 (diff) | |
download | abslibre-e60e22efff20b01a74ddcee4f6af4559fe8fdd54.tar.gz abslibre-e60e22efff20b01a74ddcee4f6af4559fe8fdd54.tar.bz2 abslibre-e60e22efff20b01a74ddcee4f6af4559fe8fdd54.zip |
xorg-fonts-75dpi-1.0.3-2.parabola2: rebuild
Diffstat (limited to 'libre')
-rw-r--r-- | libre/xorg-fonts-75dpi/PKGBUILD | 28 | ||||
-rw-r--r-- | libre/xorg-fonts-75dpi/xfonts.install | 2 |
2 files changed, 20 insertions, 10 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 diff --git a/libre/xorg-fonts-75dpi/xfonts.install b/libre/xorg-fonts-75dpi/xfonts.install index e52603946..14080a0a5 100644 --- a/libre/xorg-fonts-75dpi/xfonts.install +++ b/libre/xorg-fonts-75dpi/xfonts.install @@ -1,6 +1,6 @@ post_install() { echo -n "Updating font cache... " - fc-cache -f > /dev/null + fc-cache -s mkfontscale /usr/share/fonts/75dpi mkfontdir /usr/share/fonts/75dpi echo "done." |