aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nototools/APKBUILD
blob: 26fb6b1427d0dedb85427fd5e4f1d172424804fb (plain) (blame)
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
37
38
39
40
41
42
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=nototools
pkgver=20160719
_commit=71d0fca844d368ff8b4382e5e75e923368d9c580
pkgrel=0
pkgdesc="Noto fonts support tools and scripts"
url="https://www.google.com/get/noto/"
arch="noarch"
license="ASL 2.0"
depends="python2"
makedepends="python2-dev py2-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
}

md5sums="7a775ac591a4f1404ea73eb1eed1635f  nototools-20160719.tar.gz
7ad819232fb297d06186d44b4ab02268  data_path.patch
57497289793f79ee125af4710a68e0a6  unichr.patch"
sha256sums="c5bb22f6ac3d56aad9ac25906039943ffd8a7b0906083adc392e19b2ddd2759b  nototools-20160719.tar.gz
b9b0f07abf627049139206d9d379f78baa0f3a761a965e64c71d2ffd3c48dcb2  data_path.patch
730f20da8f2ce8af7baae5089b7e7b4bfce43015c9ae80c80243bcb183ad92a9  unichr.patch"
sha512sums="da2a18c2efa754e4899a33b5e94a6dc2a96476dca156e5cf02f37c4bac4d943a968d998eeeaab24114806bfd555129998d5e45a0850527546661df3cf13b574c  nototools-20160719.tar.gz
e0d37ab7c2398695a00053c8c47346406d5cf8dda7ff3e24482d5318786794bb601fd2dd813437054b558d52df8934fc3050dc41a9ec9090a08835cabedaaa1c  data_path.patch
507b929b029aa63095fc157237c526a527f6e58a7ef3c8f93c9880a7559cd5cf2ec98051a4825803acdbc3c56c661100e247b0cdd49b861d11ca98aa5a1d7964  unichr.patch"