mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/randrctl: new aport
Profile based screen manager for X https://github.com/edio/randrctl
This commit is contained in:
parent
5d7e85c990
commit
b50ff779d1
37
testing/randrctl/APKBUILD
Normal file
37
testing/randrctl/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=randrctl
|
||||
pkgver=1.8.0
|
||||
pkgrel=0
|
||||
pkgdesc="Profile based screen manager for X"
|
||||
url="https://github.com/edio/randrctl"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="python3 py3-argcomplete py3-yaml xrandr"
|
||||
checkdepends="py3-pytest"
|
||||
makedepends="python3-dev py3-pbr py3-setuptools"
|
||||
source="https://github.com/edio/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
export PBR_VERSION="$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
pytest-3 .
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
|
||||
install -m 644 -D randrctl/setup/99-randrctl.rules \
|
||||
"$pkgdir"/lib/udev/rules.d/99-$pkgname.rules
|
||||
}
|
||||
|
||||
sha512sums="f8dd2cb009853ceed588f02485a850676d163e3fce23f299b6e8db7c98c50a6c3360b531d14e3102b9a132f29e015a8a8e40ed8ecffb6340144e34e3a28f5ff6 randrctl-1.8.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user