# Maintainer: Clayton Craft # Co-Maintainer: Oliver Smith pkgname=osk-sdl pkgver=0.61 pkgrel=0 pkgdesc="Onscreen keyboard for unlocking LUKS devices" url="https://gitlab.com/postmarketOS/osk-sdl" arch="all" license="GPL-3.0-or-later" depends=" cryptsetup-libs directfb mesa-gl ttf-dejavu " makedepends=" cryptsetup-dev linux-headers sdl2-dev sdl2_ttf-dev scdoc " source="https://gitlab.com/postmarketOS/osk-sdl/-/archive/$pkgver/osk-sdl-$pkgver.tar.gz" options="!strip !check" # No tests subpackages="$pkgname-doc" build() { make } package() { install -D -m755 bin/osk-sdl \ "$pkgdir"/usr/bin/osk-sdl install -D -m755 osk.conf \ "$pkgdir"/etc/osk.conf install -Dm644 doc/osk-sdl.1 "$pkgdir"/usr/share/man/man1/osk-sdl.1 touch osk-sdl install -Dm644 osk-sdl \ "$pkgdir"/usr/share/postmarketos-mkinitfs-triggers/osk-sdl } sha512sums="872f4e370bd111c77531e35813e8e5f431a3a7f9befde428cda7d13c2e131d411162dff5175f889b424aeabcf77bb6ae79bc52d74fa4ba70efc7ef8a77ed4b4b osk-sdl-0.61.tar.gz"