diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-25 04:19:14 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-25 04:19:14 (GMT) |
commit | 1fefc9c7bae49375e667f684c8a7771cc9d29188 (patch) | |
tree | d582512dad469172b1dcf6991f73368dc8fa89e5 /abs | |
parent | 5f6bb217b7e1434e7c43bf988131a4bdf8bf5276 (diff) | |
download | linhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.zip linhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.tar.gz linhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.tar.bz2 |
ttf-freefont: 20120503
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/ttf-freefont/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra/ttf-freefont/install | 14 | ||||
-rw-r--r-- | abs/extra/ttf-freefont/ttf-freefont.install | 17 |
3 files changed, 28 insertions, 30 deletions
diff --git a/abs/extra/ttf-freefont/PKGBUILD b/abs/extra/ttf-freefont/PKGBUILD index cc4a110..1aa4127 100644 --- a/abs/extra/ttf-freefont/PKGBUILD +++ b/abs/extra/ttf-freefont/PKGBUILD @@ -1,22 +1,23 @@ -# $Id$ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# $Id: PKGBUILD 158526 2012-05-03 23:42:05Z bisson $ # Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=ttf-freefont -pkgver=20100919 +pkgver=20120503 pkgrel=1 -pkgdesc="A set of free high-quality TrueType fonts covering the UCS character set" -arch=('any') -url="http://www.nongnu.org/freefont/" +pkgdesc='Set of free outline fonts covering the Unicode character set' +url='http://www.nongnu.org/freefont/' license=('GPL') +arch=('any') depends=('fontconfig' 'xorg-font-utils') -install=ttf-freefont.install -source=("http://ftp.gnu.org/gnu/freefont/freefont-ttf-$pkgver.tar.gz") -sha1sums=('feb1c3349529bbb769cfe55bc901baa917507407') +source=("http://ftp.gnu.org/gnu/freefont/freefont-ttf-${pkgver}.zip") +sha1sums=('46179a6f3469b386f6569fc61913314ba79aadac') + +install=install build() { - cd "${srcdir}/freefont-${pkgver}" - install -d "$pkgdir/usr/share/fonts/TTF" - install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" + cd "${srcdir}/freefont-${pkgver}" + install -d "${pkgdir}"/usr/share/fonts/TTF + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF } - diff --git a/abs/extra/ttf-freefont/install b/abs/extra/ttf-freefont/install new file mode 100644 index 0000000..d512d69 --- /dev/null +++ b/abs/extra/ttf-freefont/install @@ -0,0 +1,14 @@ +post_install() { + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/abs/extra/ttf-freefont/ttf-freefont.install b/abs/extra/ttf-freefont/ttf-freefont.install deleted file mode 100644 index 0705eb5..0000000 --- a/abs/extra/ttf-freefont/ttf-freefont.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -f > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - - |