[arch-commits] Commit in (5 files)
Alad Wenter
alad at archlinux.org
Mon Jan 7 03:59:11 UTC 2019
Date: Monday, January 7, 2019 @ 03:59:10
Author: alad
Revision: 420917
import acpilight
Added:
acpilight/
acpilight/repos/
acpilight/trunk/
acpilight/trunk/PKGBUILD
acpilight/trunk/acpilight.install
-------------------+
PKGBUILD | 26 ++++++++++++++++++++++++++
acpilight.install | 7 +++++++
2 files changed, 33 insertions(+)
Added: acpilight/trunk/PKGBUILD
===================================================================
--- acpilight/trunk/PKGBUILD (rev 0)
+++ acpilight/trunk/PKGBUILD 2019-01-07 03:59:10 UTC (rev 420917)
@@ -0,0 +1,26 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Contributor: Andrew Rabert <draje at nullsum.net>
+# Contributor: Filippo Veneri <filippo[dot]veneri[at]gmail[dot]com>
+# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
+pkgname=acpilight
+pkgver=1.1
+pkgrel=1
+pkgdesc="a backward-compatible xbacklight replacement based on ACPI"
+arch=('any')
+url='https://gitlab.com/wavexx/acpilight'
+license=('GPL3')
+depends=('python')
+provides=('xorg-xbacklight')
+conflicts=('xorg-xbacklight')
+source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2")
+install=$pkgname.install
+md5sums=('SKIP')
+
+package() {
+ cd "$pkgname-v$pkgver"
+
+ install -Dm755 xbacklight "$pkgdir"/usr/bin/xbacklight
+ install -Dm644 xbacklight.1 "$pkgdir"/usr/share/man/man1/xbacklight.1
+ install -Dm644 90-backlight.rules "$pkgdir"/usr/lib/udev/rules.d/90-backlight.rules
+ install -Dm644 README.rst NEWS.rst -t "$pkgdir"/usr/share/doc/acpilight
+}
Added: acpilight/trunk/acpilight.install
===================================================================
--- acpilight/trunk/acpilight.install (rev 0)
+++ acpilight/trunk/acpilight.install 2019-01-07 03:59:10 UTC (rev 420917)
@@ -0,0 +1,7 @@
+post_install() {
+ cat << EOF
+ The installed udev rules expect your user to be in the video group to modify
+ the relevant files in the /sys hierarchy.
+EOF
+}
+
More information about the arch-commits
mailing list