summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 310f1bcb997a72d63ab1786035d8461f2ef436c6 (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
# Maintainer: ErrrorMaxx <herobrine135111@gmail.com>
pkgname=minivcmouse
pkgver=1.0
_commit=b2c53eed578b6d7c2212b52a80f4810ffe9b4bcb
pkgrel=1
pkgdesc='A simple linux console mouse daemon'
arch=(any)
url='https://github.com/textshell/minivcmouse'
license=('GPL2')
depends=(libinput libudev0)
makedepends=(meson)
optdepends=()
source=(
  "${pkgname}-${pkgver}.tar.gz::${url}/archive/${_commit}.tar.gz"
  minivcmouse.service
)
sha256sums=('e1359696f484320f9ba61834b4332ba2bb560b380853605f2d92c6cd4bfea8a3'
            '195dd84ac5dc0faca7609d83377da963ebe439b38144920f6fb30a919ec89c68')

build() {
  arch-meson "${pkgname}-${_commit}" build
  meson compile -C build
}

package() {
  DESTDIR="${pkgdir}" meson install -C build
  install -Dm644 minivcmouse.service "${pkgdir}/etc/systemd/system/minivcmouse.service"
}