diff options
author | John Lane | 2015-06-09 17:36:08 +0100 |
---|---|---|
committer | John Lane | 2015-06-09 17:36:08 +0100 |
commit | a72d86cedb1302fd587f391cab1f8bde8ebfd57e (patch) | |
tree | 55947daa49fc12489aedd581e698968bdfd88655 | |
download | aur-a72d86cedb1302fd587f391cab1f8bde8ebfd57e.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 12 | ||||
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | install | 15 |
4 files changed, 61 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..8f7c3ff6b46d --- /dev/null +++ b/.AURINFO @@ -0,0 +1,12 @@ +pkgbase = ttf-london-tube + pkgdesc = A font based on Edward Johnston's London Underground type designed for London Transport in 1915 + pkgver = 1.0 + pkgrel = 1 + url = http://www.fontspace.com/jonathan-paterson/london-tube + install = install + arch = any + license = Freeware + source = london-tube.zip::http://dl1.fontflood.com/download.ashx?guid=c7c2913047ba4341929c4a014108d700&name=jonathan-paterson_london-tube.zip + +pkgname = ttf-london-tube + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a55729837aa0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ttf-london-tube + pkgdesc = A font based on Edward Johnston's London Underground type designed for London Transport in 1915 + pkgver = 1.0 + pkgrel = 1 + url = http://www.fontspace.com/jonathan-paterson/london-tube + install = install + arch = any + license = Freeware + source = london-tube.zip::http://dl1.fontflood.com/download.ashx?guid=c7c2913047ba4341929c4a014108d700&name=jonathan-paterson_london-tube.zip + md5sums = 3b14704a3323fb9a4d3e30d04b734dca + +pkgname = ttf-london-tube + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..36c60821c963 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: John Lane <archlinux at jelmail dot com> +# +# Font based on Edward Johnston's London Underground type designed for London Transport in 1915. + +pkgname=ttf-london-tube +pkgver=1.0 +pkgrel=1 +pkgdesc="A font based on Edward Johnston's London Underground type designed for London Transport in 1915" +arch=('any') +url='http://www.fontspace.com/jonathan-paterson/london-tube' +license=('Freeware') +install='install' + +source=('london-tube.zip::http://dl1.fontflood.com/download.ashx?guid=c7c2913047ba4341929c4a014108d700&name=jonathan-paterson_london-tube.zip') + +md5sums=('3b14704a3323fb9a4d3e30d04b734dca') + +package() { + install -dm755 $pkgdir/usr/share/fonts/TTF + find "$srcdir" -name "*.ttf" -exec install {} $pkgdir/usr/share/fonts/TTF \; +} diff --git a/install b/install new file mode 100644 index 000000000000..fcd742e38521 --- /dev/null +++ b/install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |