2020-01-06 10:44:17 +01:00
|
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
2020-08-08 22:30:57 +02:00
|
|
|
# Co-Maintainer: Oliver Smith <ollieparanod@postmarketos.org>
|
2017-08-19 09:50:59 -07:00
|
|
|
pkgname=osk-sdl
|
2020-12-03 14:09:45 -08:00
|
|
|
pkgver=0.60
|
2020-09-23 12:27:15 +02:00
|
|
|
pkgrel=0
|
2017-09-23 01:12:12 +00:00
|
|
|
pkgdesc="Onscreen keyboard for unlocking LUKS devices"
|
2018-06-30 16:08:43 +02:00
|
|
|
url="https://gitlab.com/postmarketOS/osk-sdl"
|
2017-08-19 09:50:59 -07:00
|
|
|
arch="all"
|
2020-01-06 10:44:17 +01:00
|
|
|
license="GPL-3.0-or-later"
|
2020-09-15 19:53:55 +02:00
|
|
|
depends="
|
|
|
|
cryptsetup-libs
|
|
|
|
directfb
|
|
|
|
mesa-gl
|
|
|
|
ttf-dejavu
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
cryptsetup-dev
|
|
|
|
linux-headers
|
|
|
|
sdl2-dev
|
|
|
|
sdl2_ttf-dev
|
2020-12-03 14:09:45 -08:00
|
|
|
scdoc
|
2020-09-15 19:53:55 +02:00
|
|
|
"
|
|
|
|
source="https://gitlab.com/postmarketOS/osk-sdl/-/archive/$pkgver/osk-sdl-$pkgver.tar.gz"
|
2020-01-06 10:44:17 +01:00
|
|
|
options="!strip !check" # No tests
|
2020-12-03 14:09:45 -08:00
|
|
|
subpackages="$pkgname-doc"
|
2017-08-19 09:50:59 -07:00
|
|
|
|
|
|
|
build() {
|
2020-01-06 10:44:17 +01:00
|
|
|
make
|
2017-08-19 09:50:59 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-06 10:44:17 +01:00
|
|
|
install -D -m755 bin/osk-sdl \
|
|
|
|
"$pkgdir"/usr/bin/osk-sdl
|
|
|
|
install -D -m755 osk.conf \
|
|
|
|
"$pkgdir"/etc/osk.conf
|
2020-12-03 14:09:45 -08:00
|
|
|
install -Dm644 doc/osk-sdl.1 "$pkgdir"/usr/share/man/man1/osk-sdl.1
|
2020-09-15 19:53:55 +02:00
|
|
|
|
|
|
|
touch osk-sdl
|
|
|
|
install -Dm644 osk-sdl \
|
|
|
|
"$pkgdir"/usr/share/postmarketos-mkinitfs-triggers/osk-sdl
|
2017-08-19 09:50:59 -07:00
|
|
|
}
|
2020-12-03 14:09:45 -08:00
|
|
|
sha512sums="33e1f0f07373f976efe8dc21e31c0b14de1c8200737654d37831a9585a4c72d35508c92e3229be11b07e98d8e35cf6dbe109b8b0a535b11103533489b5a7493f osk-sdl-0.60.tar.gz"
|