summaryrefslogtreecommitdiff
path: root/user/brltty/APKBUILD
blob: ae34d6ff7ba1ed13ec1d14f35027f1b6db41ee03 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=brltty
pkgver=6.5
pkgrel=0
pkgdesc="Braille display driver for Linux"
url="https://brltty.app/"
arch="all"
options="!check" # no test suite
license="LGPL-2.1-only AND GPL-2.0+"
depends=""
makedepends="bluez-dev liblouis-dev ncurses-dev python3-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://brltty.app/archive/brltty-$pkgver.tar.xz"

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bbfbb89b1c3ba5063ad3bc0aa97b859dd23acea1feb79dab20c57dc74ff2f26649942fcecc7030a3f70555596f4d9d35cd05616af2a8e101d4d56b4c471a6ad3  brltty-6.5.tar.xz"