# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=powerline-extra-symbols
pkgver=0_git20191017
_gitrev="ae05de7c51f6609479f4f1a4a0f6f65631731c1b"
pkgrel=1
pkgdesc="Extra glyphs for your powerline separators"
url="https://github.com/ryanoasis/powerline-extra-symbols"
arch="noarch"
license="MIT"
depends="fontconfig"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ryanoasis/powerline-extra-symbols/archive/$_gitrev.tar.gz"
builddir="$srcdir/"$pkgname-$_gitrev
options="!check" # upstream has no unit test

package() {
	install -Dvm644 "$builddir"/PowerlineExtraSymbols.otf -t \
		"$pkgdir"/usr/share/fonts/$pkgname/
	install -Dvm644 "$builddir"/README.md -t \
		"$pkgdir"/usr/share/doc/$pkgname/
}

sha512sums="
74da67b2b7eed1549aa1c2107839d1e8d790813d40cbf0588390ee625b94cc27cc33dbcb4f15e915da5db964618cf3bc830057a8983ca654e41f8dec93fac392  powerline-extra-symbols-0_git20191017.tar.gz
"
