diff options
author | Maximilian Luz | 2021-02-05 04:29:26 +0100 |
---|---|---|
committer | Maximilian Luz | 2021-02-05 04:29:26 +0100 |
commit | 52fa99e145df9735f471b9b3ed4fa2df175b768b (patch) | |
tree | 1702e111be0de566365ba26bf154ea48cafe6d10 | |
parent | b19d1dd7c4aa27ee52d9c3fa30d5459acce64c3b (diff) | |
download | aur-52fa99e145df9735f471b9b3ed4fa2df175b768b.tar.gz |
Update to 0.3.1.1.r0.g022cf21
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = surface-control-git pkgdesc = Control various aspects of Microsoft Surface devices from the Command-Line - pkgver = 0.3.0.1.r0.g27987d2 + pkgver = 0.3.1.1.r0.g022cf21 pkgrel = 1 url = https://github.com/linux-surface/surface-control arch = x86_64 @@ -2,7 +2,7 @@ _pkgname='surface-control' pkgname="${_pkgname}-git" -pkgver=0.3.0.1.r0.g27987d2 +pkgver=0.3.1.1.r0.g022cf21 pkgrel=1 pkgdesc='Control various aspects of Microsoft Surface devices from the Command-Line' url='https://github.com/linux-surface/surface-control' @@ -32,12 +32,16 @@ build(){ } package() { - install -D -m755 "${srcdir}/${_pkgname}/target/release/surface" "$pkgdir/usr/bin/surface" + install -D -m755 "${srcdir}/${_pkgname}/target/release/surface" "${pkgdir}/usr/bin/surface" + + # copy system files + install -D -m644 "${srcdir}/${_pkgname}/etc/sysusers/surface-control.conf" "${pkgdir}/usr/lib/sysusers.d/surface-control.conf" + install -D -m644 "${srcdir}/${_pkgname}/etc/udev/40-surface-control.rules" "${pkgdir}/usr/lib/udev/rules.d/40-surface-control.rules" # completion files - install -D -m644 "${srcdir}/${_pkgname}/target/surface.bash" "$pkgdir/usr/share/bash-completion/completions/surface" - install -D -m644 "${srcdir}/${_pkgname}/target/_surface" "$pkgdir/usr/share/zsh/site-functions/_surface" - install -D -m644 "${srcdir}/${_pkgname}/target/surface.fish" "$pkgdir/usr/share/fish/completions/surface.fish" + install -D -m644 "${srcdir}/${_pkgname}/target/surface.bash" "${pkgdir}/usr/share/bash-completion/completions/surface" + install -D -m644 "${srcdir}/${_pkgname}/target/_surface" "${pkgdir}/usr/share/zsh/site-functions/_surface" + install -D -m644 "${srcdir}/${_pkgname}/target/surface.fish" "${pkgdir}/usr/share/fish/completions/surface.fish" # license install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/surface-control/LICENSE" |