diff options
author | Guillaume Delacourt | 2015-06-11 23:16:57 +0200 |
---|---|---|
committer | Guillaume Delacourt | 2015-06-11 23:16:57 +0200 |
commit | 7dfe16a3a64d1503c58f4343ccb5baa20bd9e03f (patch) | |
tree | 730fc0e8a2c2cde838825386170ed7e58b1db4af | |
download | aur-7dfe16a3a64d1503c58f4343ccb5baa20bd9e03f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | nemoy.install | 20 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8703de751165 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = otf-nemoy + pkgdesc = A font for space traveler. + pkgver = 20110513 + pkgrel = 2 + url = http://openfontlibrary.org/font/nemoy + install = nemoy.install + arch = any + license = custom:OFL + depends = fontconfig + depends = xorg-fonts-encodings + depends = xorg-font-utils + source = http://openfontlibrary.org/assets/downloads/nemoy/a3347504a711e41edd8de2d5d7312b6f/nemoy.zip + md5sums = a3347504a711e41edd8de2d5d7312b6f + +pkgname = otf-nemoy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e394f848944f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: feufochmar <feufochmar.gd@gmail.com> +pkgname=otf-nemoy +pkgver=20110513 +pkgrel=2 +pkgdesc="A font for space traveler." +arch=('any') +url="http://openfontlibrary.org/font/nemoy" +license=('custom:OFL') +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') +install=nemoy.install +source=("http://openfontlibrary.org/assets/downloads/nemoy/a3347504a711e41edd8de2d5d7312b6f/nemoy.zip") + +package() { + cd "$srcdir"/Nemoy + install -D -m644 "OFL.txt" "$pkgdir"/usr/share/licenses/$pkgname/OFL + mkdir -p "$pkgdir"/usr/share/fonts/OTF + install -m644 *.otf "$pkgdir"/usr/share/fonts/OTF/ +} + +md5sums=('a3347504a711e41edd8de2d5d7312b6f') diff --git a/nemoy.install b/nemoy.install new file mode 100644 index 000000000000..4f5212ef22ba --- /dev/null +++ b/nemoy.install @@ -0,0 +1,20 @@ +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 +} + +op=$1 +shift + +$op $* |