main/gesture: add openrc subpackage (MR 5555)
This commit is contained in:
parent
b11f71d2b9
commit
9d4173d2fc
|
@ -1,15 +1,15 @@
|
||||||
# Maintainer: Craig Comstock <craig@unreasonablefarm.org>
|
# Maintainer: Craig Comstock <craig@unreasonablefarm.org>
|
||||||
pkgname=gesture
|
pkgname=gesture
|
||||||
pkgver=0.7
|
pkgver=0.7
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="handwriting algorithm with implementation for linux touchscreens injecting keys into a tty"
|
pkgdesc="handwriting algorithm with implementation for linux touchscreens injecting keys into a tty"
|
||||||
url="https://gitlab.com/unrznbl/gesture"
|
url="https://gitlab.com/unrznbl/gesture"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
makedepends="linux-headers"
|
makedepends="linux-headers"
|
||||||
install="$pkgname.post-install $pkgname.pre-deinstall"
|
|
||||||
options="!check"
|
options="!check"
|
||||||
source="https://gitlab.com/unrznbl/gesture/-/archive/v$pkgver/gesture-v$pkgver.tar.gz"
|
source="https://gitlab.com/unrznbl/gesture/-/archive/v$pkgver/gesture-v$pkgver.tar.gz"
|
||||||
|
subpackages="$pkgname-openrc"
|
||||||
builddir="$srcdir/gesture-v$pkgver"
|
builddir="$srcdir/gesture-v$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -20,6 +20,12 @@ package() {
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openrc() {
|
||||||
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||||
|
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||||
|
mkdir -p "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
f05eae4dded079eed6fd7b362485bec6400f18f4e9cf2a42ee80a378d0f9de7d85b8afc5671a349f5dee85ea92b1281415158ae85abd160668ad13aa8e3a46a1 gesture-v0.7.tar.gz
|
f05eae4dded079eed6fd7b362485bec6400f18f4e9cf2a42ee80a378d0f9de7d85b8afc5671a349f5dee85ea92b1281415158ae85abd160668ad13aa8e3a46a1 gesture-v0.7.tar.gz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user