summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c04cab6177ed..c550e7e983e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 2dc48913b015..c737d10c1729 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/" \;
}