diff options
author | yugrotavele | 2015-06-13 17:21:28 -0500 |
---|---|---|
committer | yugrotavele | 2015-06-13 17:21:28 -0500 |
commit | 98b4ba08ac46c801fc183a292ce0bc48beafe999 (patch) | |
tree | ccc45d31c3b2de56e4c3191b87f0dfc8b4db2905 | |
download | aur-98b4ba08ac46c801fc183a292ce0bc48beafe999.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | ttf-fossfonts.install | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fc7a9fb01642 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ttf-fossfonts + pkgdesc = A collection of 108 free GPL and Public Domain fonts. + pkgver = 0.0.4 + pkgrel = 1 + url = http://ftp.nl.freebsd.org/pub/pub/os/Linux/distr/zenwalk/i486/zenwalk-7.0/packages/extra/x/ + install = ttf-fossfonts.install + arch = any + license = GPL + source = http://ftp.nl.freebsd.org/pub/pub/os/Linux/distr/zenwalk/i486/zenwalk-7.0/packages/extra/x/ttf-fossfonts-0.0.4-noarch-52.1.tgz + md5sums = fc50d41077f58f5edc62769e13092a9a + +pkgname = ttf-fossfonts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c593fbe8391 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: yugrotavele <yugrotavele at archlinux dot us> +# Contributor: William Díaz <wdiaz [at] archlinus [dot] us> +# Contributor: Darío Andrés Rodríguez <andresbajotierra@gmail.com> + +pkgname=ttf-fossfonts +pkgver=0.0.4 +pkgrel=1 +pkgdesc="A collection of 108 free GPL and Public Domain fonts." +arch=('any') +url="http://ftp.nl.freebsd.org/pub/pub/os/Linux/distr/zenwalk/i486/zenwalk-7.0/packages/extra/x/" +license=('GPL') +install=$pkgname.install +source=(http://ftp.nl.freebsd.org/pub/pub/os/Linux/distr/zenwalk/i486/zenwalk-7.0/packages/extra/x/$pkgname-$pkgver-noarch-52.1.tgz) +md5sums=('fc50d41077f58f5edc62769e13092a9a') + +package() { + cd "$srcdir/usr/share/fonts/TTF/" + install -d "$pkgdir/usr/share/fonts/TTF" + cp * "$pkgdir/usr/share/fonts/TTF" +} + diff --git a/ttf-fossfonts.install b/ttf-fossfonts.install new file mode 100644 index 000000000000..7dde94b45180 --- /dev/null +++ b/ttf-fossfonts.install @@ -0,0 +1,15 @@ +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 $1 +} + +post_remove() { + post_install $1 +} |