diff options
author | eeva | 2016-02-15 00:48:43 +0100 |
---|---|---|
committer | eeva | 2016-02-15 00:48:43 +0100 |
commit | 9cc211f2060c70e2ce9e8df40a018084292da5a2 (patch) | |
tree | 6c95216593f3a1fe33654f8cfc748b16fe954a7d | |
download | aur-9cc211f2060c70e2ce9e8df40a018084292da5a2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | ttf-league-gothic.install | 13 |
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8f79391b3753 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Feb 14 23:47:15 UTC 2016 +pkgbase = ttf-league-gothic + pkgdesc = League Gothic is a revival of an old classic, and one of our favorite typefaces, Alternate Gothic #1 + pkgver = 20160215 + pkgrel = 1 + url = http://theleagueofmoveabletype.com/league-gothic + install = ttf-league-gothic.install + arch = any + groups = lmt-fonts + license = custom:OFL + depends = fontconfig + depends = xorg-font-utils + replaces = otf-league-gothic + source = https://github.com/theleagueof/league-gothic/archive/master.zip + md5sums = e19525cac31d325b4604d01e36c9fd6c + +pkgname = ttf-league-gothic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b79198d81795 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: samæ <samæ at marvid dot fr> + +_fnt_name=league-gothic +pkgname=ttf-${_fnt_name} +pkgver=20160215 +pkgrel=1 +pkgdesc="League Gothic is a revival of an old classic, and one of our favorite typefaces, Alternate Gothic #1" +arch=('any') +url="http://theleagueofmoveabletype.com/${_fnt_name}" +license=('custom:OFL') +groups=('lmt-fonts') +depends=('fontconfig' 'xorg-font-utils') +replaces=('otf-league-gothic') +source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip") +install=${pkgname}.install +md5sums=('e19525cac31d325b4604d01e36c9fd6c') + +package() { + install -Dm644 ${srcdir}/${_fnt_name}-master/LeagueGothic-CondensedItalic.otf ${pkgdir}/usr/share/fonts/OTF/LeagueGothic-CondensedItalic.otf + install -Dm644 ${srcdir}/${_fnt_name}-master/LeagueGothic-CondensedRegular.otf ${pkgdir}/usr/share/fonts/OTF/LeagueGothic-CondensedRegular.otf + install -Dm644 ${srcdir}/${_fnt_name}-master/LeagueGothic-Italic.otf ${pkgdir}/usr/share/fonts/OTF/LeagueGothic-Italic.otf + install -Dm644 ${srcdir}/${_fnt_name}-master/LeagueGothic-Regular.otf ${pkgdir}/usr/share/fonts/OTF/LeagueGothic-Regular.otf + + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/leaguegothic-condensed-italic-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LeagueGothic-CondensedItalic.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/leaguegothic-condensed-regular-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LeagueGothic-CondensedRegular.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/leaguegothic-italic-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LeagueGothic-Italic.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/leaguegothic-regular-webfont.ttf ${pkgdir}/usr/share/fonts/TTF/LeagueGothic-Regular.ttf + + install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt +} + diff --git a/ttf-league-gothic.install b/ttf-league-gothic.install new file mode 100644 index 000000000000..2125904e5000 --- /dev/null +++ b/ttf-league-gothic.install @@ -0,0 +1,13 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -s > /dev/null + echo "done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |