blob: 72bff51658d1f87a62d46b760944212df16ae19e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#Maintainer: Gerrit G. <gerrit at grosskopfgames dot de>
pkgname=unl0kr
pkgver=2.0.2
pkgdesc="On-screen Keyboard for FDE"
pkgrel=2
arch=(x86_64)
url="https://github.com/Grosskopf/arch_unl0kr"
license=('GPL3')
depends=(device-mapper cryptsetup libinih libinput udev libxkbcommon)
makedepends=(meson git cmake scdoc pkgconf)
_commit="2e5707cbd5d8d9ab1b382f663e57804e1fb063ef"
source=(
git+https://gitlab.com/cherrypicker/unl0kr.git#commit=${_commit}
unl0kr-hooks
unl0kr-install
)
backup=(etc/unl0kr.conf)
build() {
cd unl0kr
git submodule init
git submodule update
cd ..
arch-meson "$pkgname" _build
meson compile -C _build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C _build
install -Dm644 ${srcdir}/unl0kr-hooks ${pkgdir}/usr/lib/initcpio/hooks/unl0kr
install -Dm644 ${srcdir}/unl0kr-install ${pkgdir}/usr/lib/initcpio/install/unl0kr
}
md5sums=('SKIP'
'bfb3b7489f6ad4eff1a934ee469dc101'
'79bb712c36c48179ab3eaab9d9d902db')
|