diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 7 deletions
@@ -1,12 +1,11 @@ pkgbase = ttf-zelda pkgdesc = A collection of fonts from the Legend of Zelda universe pkgver = 1.1 - pkgrel = 1 + pkgrel = 2 url = http://www.zeldauniverse.net/media/fonts/ arch = any license = GPL - depends = fontconfig - depends = xorg-font-utils + provides = ttf-font source = http://www.zeldauniverse.net/media-files/typography/Triforce.ttf source = http://www.zeldauniverse.net/media-files/typography/HylianSymbols.ttf source = http://www.zeldauniverse.net/media-files/typography/Pretendo.ttf @@ -1,12 +1,12 @@ # Maintainer: Franklyn Tackitt <franklyn@tackitt.net> pkgname=ttf-zelda pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A collection of fonts from the Legend of Zelda universe" arch=('any') url="http://www.zeldauniverse.net/media/fonts/" +provides=('ttf-font') license=('GPL') -depends=('fontconfig' 'xorg-font-utils') noextract=() _source_base_url=http://www.zeldauniverse.net/media-files/typography/ @@ -46,6 +46,10 @@ md5sums=('3cf0469a6f23aefd25032f8bbc3587e5' package() { cd "$srcdir" - find . -iname \*.ttf -exec install -Dm644 '{}' "$pkgdir/usr/share/fonts/TTF/{}" \; - find . -iname \*.otf -exec install -Dm644 '{}' "$pkgdir/usr/share/fonts/TTF/{}" \; + + rm -r "__MACOSX" + + mkdir -p "$pkgdir/usr/share/fonts/TTF/" + find . -iname \*.ttf -exec install -Dm644 "{}" "$pkgdir/usr/share/fonts/TTF/" \; + find . -iname \*.otf -exec install -Dm644 "{}" "$pkgdir/usr/share/fonts/TTF/" \; } |