aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nototools/APKBUILD
blob: 8aa4c67a9ba63bdb04d042c32309f1c0a237f06f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=nototools
pkgver=20171030
_commit=3627598b4e858c6eb43e9ee76400d7072570a3e8
pkgrel=0
pkgdesc="Noto fonts support tools and scripts"
url="https://www.google.com/get/noto/"
arch="noarch"
license="Apache-2.0"
depends="python2"
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/googlei18n/$pkgname/archive/$_commit.tar.gz
	data_path.patch
	unichr.patch"
builddir="$srcdir/$pkgname-$_commit"

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr \
		--root="$pkgdir" || return 1

	mkdir -p "$pkgdir"/usr/share/nototools
	cp -r third_party "$pkgdir"/usr/share/nototools
}

sha512sums="d33ff3ac320b64cc41f5bf7f703084d5a954ca31cde55f1802344568a82421f7055b95c4953f8a3dc76fbc90cbcc3956505fc92d3eb33c1c90870fa4a9033e11  nototools-20171030.tar.gz
e0d37ab7c2398695a00053c8c47346406d5cf8dda7ff3e24482d5318786794bb601fd2dd813437054b558d52df8934fc3050dc41a9ec9090a08835cabedaaa1c  data_path.patch
507b929b029aa63095fc157237c526a527f6e58a7ef3c8f93c9880a7559cd5cf2ec98051a4825803acdbc3c56c661100e247b0cdd49b861d11ca98aa5a1d7964  unichr.patch"