[arch-commits] Commit in xorg-fonts-type1/repos/extra-any (4 files)
Allan McRae
allan at archlinux.org
Fri Feb 17 09:55:01 UTC 2012
Date: Friday, February 17, 2012 @ 04:55:00
Author: allan
Revision: 150376
archrelease: copy trunk to extra-any
Added:
xorg-fonts-type1/repos/extra-any/PKGBUILD
(from rev 150375, xorg-fonts-type1/trunk/PKGBUILD)
xorg-fonts-type1/repos/extra-any/xfonts.install
(from rev 150375, xorg-fonts-type1/trunk/xfonts.install)
Deleted:
xorg-fonts-type1/repos/extra-any/PKGBUILD
xorg-fonts-type1/repos/extra-any/xfonts.install
----------------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------
xfonts.install | 35 +++++++++------------
2 files changed, 64 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-17 09:54:09 UTC (rev 150375)
+++ PKGBUILD 2012-02-17 09:55:00 UTC (rev 150376)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=xorg-fonts-type1
-pkgver=7.4
-pkgrel=1
-pkgdesc="X.org Type1 fonts"
-arch=(any)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
-install=xfonts.install
-source=(${url}/releases/individual/font/font-adobe-utopia-type1-1.0.2.tar.bz2
- ${url}/releases/individual/font/font-bh-type1-1.0.1.tar.bz2
- ${url}/releases/individual/font/font-bitstream-type1-1.0.1.tar.bz2
- ${url}/releases/individual/font/font-ibm-type1-1.0.1.tar.bz2
- ${url}/releases/individual/font/font-xfree86-type1-1.0.2.tar.bz2)
-md5sums=('ad945b19b2db64dec3a19507848ff63b'
- '374d954c61363206c93d1ce7e9445c31'
- 'a4e8e229a051c0ede9eb525e4006d93a'
- '1646179ff224b3e2c9b1e7f59042897f'
- 'a966f5a8aade9e63af86d8a6bf3e8586')
-
-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/Type1 || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}" || return 1
- popd
- fi
- done
- rm -f "${pkgdir}"/usr/share/fonts/Type1/fonts.*
-}
Copied: xorg-fonts-type1/repos/extra-any/PKGBUILD (from rev 150375, xorg-fonts-type1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-02-17 09:55:00 UTC (rev 150376)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xorg-fonts-type1
+pkgver=7.4
+pkgrel=2
+pkgdesc="X.org Type1 fonts"
+arch=(any)
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
+install=xfonts.install
+source=(${url}/releases/individual/font/font-adobe-utopia-type1-1.0.2.tar.bz2
+ ${url}/releases/individual/font/font-bh-type1-1.0.1.tar.bz2
+ ${url}/releases/individual/font/font-bitstream-type1-1.0.1.tar.bz2
+ ${url}/releases/individual/font/font-ibm-type1-1.0.1.tar.bz2
+ ${url}/releases/individual/font/font-xfree86-type1-1.0.2.tar.bz2)
+md5sums=('ad945b19b2db64dec3a19507848ff63b'
+ '374d954c61363206c93d1ce7e9445c31'
+ 'a4e8e229a051c0ede9eb525e4006d93a'
+ '1646179ff224b3e2c9b1e7f59042897f'
+ 'a966f5a8aade9e63af86d8a6bf3e8586')
+
+build() {
+ cd "${srcdir}"
+ for dir in *; do
+ if [ -d "${dir}" ]; then
+ pushd "${dir}"
+ ./configure --prefix=/usr \
+ --with-fontdir=/usr/share/fonts/Type1
+ 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/Type1/fonts.*
+}
Deleted: xfonts.install
===================================================================
--- xfonts.install 2012-02-17 09:54:09 UTC (rev 150375)
+++ xfonts.install 2012-02-17 09:55:00 UTC (rev 150376)
@@ -1,20 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/Type1
- mkfontdir /usr/share/fonts/Type1
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*
Copied: xorg-fonts-type1/repos/extra-any/xfonts.install (from rev 150375, xorg-fonts-type1/trunk/xfonts.install)
===================================================================
--- xfonts.install (rev 0)
+++ xfonts.install 2012-02-17 09:55:00 UTC (rev 150376)
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list