summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD28
-rw-r--r--install13
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..73c23102566
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gsfonts-type1
+ pkgdesc = URW+ Postscript core35 fonts - Type 1 Format
+ pkgver = 20150811
+ pkgrel = 1
+ url = http://git.ghostscript.com/?p=urw-core35-fonts.git
+ install = install
+ arch = any
+ license = AGPL3
+ makedepends = git
+ depends = xorg-font-utils
+ depends = fontconfig
+ provides = gsfonts
+ conflicts = gsfonts
+ source = git://git.ghostscript.com/urw-core35-fonts.git#commit=c983ed400dc278dcf20bdff68252fad6d9db7af9
+ sha1sums = SKIP
+
+pkgname = gsfonts-type1
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd92926e1a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Luis Henrique Mello <lmello.009@gmail.com>
+# Contributor: Firmicus <francois@archlinux.org>
+# Contributor: dorphell <dorphell@archlinux.org>
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=gsfonts-type1
+_pkgname=urw-core35-fonts
+pkgver=20150811
+pkgrel=1
+pkgdesc='URW+ Postscript core35 fonts - Type 1 Format'
+url='http://git.ghostscript.com/?p=urw-core35-fonts.git'
+arch=('any')
+license=('AGPL3')
+makedepends=('git')
+depends=('xorg-font-utils' 'fontconfig')
+provides=('gsfonts')
+conflicts=('gsfonts')
+source=("git://git.ghostscript.com/${_pkgname}.git#commit=c983ed400dc278dcf20bdff68252fad6d9db7af9")
+sha1sums=('SKIP')
+
+install=install
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ install -d "${pkgdir}"/usr/share/fonts/Type1
+ install -m644 *.{pfb,pfm,afm} "${pkgdir}"/usr/share/fonts/Type1
+}
diff --git a/install b/install
new file mode 100644
index 00000000000..9793e0ba28f
--- /dev/null
+++ b/install
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}