diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
commit | 0a32dd5aab83123487e6988ec37e7e5385c3aef6 (patch) | |
tree | 760f093c15bf512361439acc7b998f04fdd0cb5b /pcr/otf-stix | |
parent | 7d3151cb257dcb2aeacf52bad5d96041677754a2 (diff) | |
parent | 201a3a8a986287b2f54d01e7c5e4bbeba8c37040 (diff) | |
download | abslibre-0a32dd5aab83123487e6988ec37e7e5385c3aef6.tar.gz abslibre-0a32dd5aab83123487e6988ec37e7e5385c3aef6.tar.bz2 abslibre-0a32dd5aab83123487e6988ec37e7e5385c3aef6.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/otf-stix')
-rw-r--r-- | pcr/otf-stix/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/otf-stix/otf-stix.install | 16 |
2 files changed, 53 insertions, 0 deletions
diff --git a/pcr/otf-stix/PKGBUILD b/pcr/otf-stix/PKGBUILD new file mode 100644 index 000000000..60fc88680 --- /dev/null +++ b/pcr/otf-stix/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer (Arch): ezzetabi <ezzetabi at gawab dot com> +# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com> +# taken from https://aur.archlinux.org/packages/otf-stix/ + +pkgname=otf-stix +pkgver=1.1.0 +#_pkgver=${pkgver//_/-} +pkgrel=1 +epoch=2 +pkgdesc='A comprehensive set of fonts that serve the scientific and +engineering community.' +arch=('any') +url="http://www.stixfonts.org" +license=('Custom: OFL') +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') +makedepends=('unzip') +install=otf-stix.install +source=("http://downloads.sourceforge.net/stixfonts/STIXv$pkgver.zip" +'http://www.stixfonts.org/STIXFontLicense2010.txt') + +build() { + /bin/true +} + +package() { + cd "$srcdir" + + install -m755 -d "$pkgdir/usr/share/fonts/OTF" + install -m644 Fonts/STIX-General/*.otf "$pkgdir/usr/share/fonts/OTF" + install -m644 Fonts/STIX-Word/*.otf "$pkgdir/usr/share/fonts/OTF" + install -Dm644 "$srcdir"/STIXFontLicense2010.txt \ + "$pkgdir"/usr/share/licenses/"$pkgname"/license.txt +} + +md5sums=('e5ebc8ef9b7df0f0bac0fd90bce95295' +'b1af7bbd3cea93a60bf68cf571ad6cab') + diff --git a/pcr/otf-stix/otf-stix.install b/pcr/otf-stix/otf-stix.install new file mode 100644 index 000000000..5d66bc226 --- /dev/null +++ b/pcr/otf-stix/otf-stix.install @@ -0,0 +1,16 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -s + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |