summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be2cea238f71e617b360a5b79223f95368666921 (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
# Maintainer: Michael Clark <iiridayn@gmail.com>
pkgname=pico-tts
pkgver=0.1.2
pkgrel=1
pkgdesc="lib and unix binary for text-to-speech engine from Android"
arch=('x86_64')
url="https://github.com/Iiridayn/pico-tts"
license=('MIT')
depends=('glibc')
makedepends=('git')
source=("git+$url.git#tag=$pkgver"
       "git+https://android.googlesource.com/platform/external/svox")
sha256sums=("SKIP" "SKIP")

prepare() {
	cd "$pkgname"
	git config submodule.svox.url "${srcdir}/svox"
	git submodule--helper update
}

build() {
	cd "$pkgname"
	make
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir/" install
	# https://wiki.archlinux.org/title/PKGBUILD#license
	install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}