This commit is contained in:
Daniel Langbein 2021-06-17 20:05:36 +02:00
parent d147afb49d
commit 4c4d0a4899
2 changed files with 5 additions and 3 deletions

View File

@ -3,12 +3,12 @@ _pkgname=rotate
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.1.0 pkgver=0.1.0
pkgrel=1 pkgrel=2
pkgdesc="Scripts to automate screen rotation" pkgdesc="Scripts to automate screen rotation"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT') license=('MIT')
depends=('iio-sensor-proxy-git') # iio-sensor-proxy did not work on my Surface Go 2 but the git version dos optdepends=('iio-sensor-proxy-git') # iio-sensor-proxy did not work on my Surface Go 2 but the git version dos
makedepends=('git') # to fetch source(s) via git makedepends=('git') # to fetch source(s) via git
source=("git+${url}.git") source=("git+${url}.git")
sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
@ -19,5 +19,5 @@ package() {
install -Dm0555 usr/bin/de-p1st-rotate-screen "$pkgdir"/usr/bin/de-p1st-rotate-screen install -Dm0555 usr/bin/de-p1st-rotate-screen "$pkgdir"/usr/bin/de-p1st-rotate-screen
install -Dm0555 usr/lib/de-p1st-rotate/get-orientation "$pkgdir"/usr/lib/de-p1st-rotate/get-orientation install -Dm0555 usr/lib/de-p1st-rotate/get-orientation "$pkgdir"/usr/lib/de-p1st-rotate/get-orientation
install -Dm0644 -o0 etc/de-p1st-rotate/config.cfg "$pkgdir"/etc/de-p1st-rotate/config.cfg install -Dm0644 -o0 etc/de-p1st-rotate/config.cfg "$pkgdir"/etc/de-p1st-rotate/config.cfg
} }

View File

@ -4,6 +4,8 @@
## Usage - XFCE4 ## Usage - XFCE4
Install the optional dependency `iio-sensor-proxy` or `iio-sensor-proxy-git`.
Create a launcher with an icon symbolising "screen rotation" and use the following command: Create a launcher with an icon symbolising "screen rotation" and use the following command:
```shell ```shell