main/osk-sdl: add empty file to mkinitfs triggers directory (MR 1563)

This commit is contained in:
Bart Ribbers 2020-09-15 19:53:55 +02:00 committed by Alexey Min
parent d213e06d4e
commit 4f6bec666c
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448

View file

@ -2,14 +2,24 @@
# Co-Maintainer: Oliver Smith <ollieparanod@postmarketos.org>
pkgname=osk-sdl
pkgver=0.57
pkgrel=0
pkgrel=1
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 mesa-gl directfb ttf-dejavu"
makedepends="linux-headers sdl2-dev sdl2_ttf-dev cryptsetup-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/osk-sdl/-/archive/$pkgver/osk-sdl-$pkgver.tar.gz"
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"
options="!strip !check" # No tests
build() {
@ -21,5 +31,9 @@ package() {
"$pkgdir"/usr/bin/osk-sdl
install -D -m755 osk.conf \
"$pkgdir"/etc/osk.conf
touch osk-sdl
install -Dm644 osk-sdl \
"$pkgdir"/usr/share/postmarketos-mkinitfs-triggers/osk-sdl
}
sha512sums="324fb28fe283d8925518a01b6879d3766b453d0974fa098765c3fd8b71481c0942241829f1bb7fc366cc5be4b0056231a96d93fbefa13c350f49f34888a14ac1 osk-sdl-0.57.tar.gz"