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