diff options
author | Luis Henrique Mello | 2016-08-07 17:45:59 -0300 |
---|---|---|
committer | Luis Henrique Mello | 2016-08-07 17:45:59 -0300 |
commit | b8b378aa9728a866d4e702bfc5eb229492a369a6 (patch) | |
tree | fed1977012345dd66b917855a0a663af3db33b2e | |
download | aur-b8b378aa9728a866d4e702bfc5eb229492a369a6.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | install | 13 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..73c231025668 --- /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 000000000000..cd92926e1a20 --- /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 000000000000..9793e0ba28fc --- /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 +} |