summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-07-31 09:18:30 -0700
committerZach van Rijn <me@zv.io>2022-11-02 15:57:47 -0500
commit9d7a9c2f4a6cd1043d074bd5ce02502ff35e0c19 (patch)
treed80ef8fad3e11d30501d08d87a25028581ee495b
parentf1adb257ce549e24ac063e89b98cd32dc7f408c3 (diff)
downloadpackages-9d7a9c2f4a6cd1043d074bd5ce02502ff35e0c19.tar.gz
packages-9d7a9c2f4a6cd1043d074bd5ce02502ff35e0c19.tar.bz2
packages-9d7a9c2f4a6cd1043d074bd5ce02502ff35e0c19.tar.xz
packages-9d7a9c2f4a6cd1043d074bd5ce02502ff35e0c19.zip
user/brltty: new package
-rw-r--r--user/brltty/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/brltty/APKBUILD b/user/brltty/APKBUILD
new file mode 100644
index 000000000..ae34d6ff7
--- /dev/null
+++ b/user/brltty/APKBUILD
@@ -0,0 +1,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"