[arch-commits] Commit in acpilight/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:20:39 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:20:39
  Author: felixonmars
Revision: 658422

archrelease: copy trunk to community-staging-any

Added:
  acpilight/repos/community-staging-any/
  acpilight/repos/community-staging-any/PKGBUILD
    (from rev 658419, acpilight/trunk/PKGBUILD)
  acpilight/repos/community-staging-any/acpilight.install
    (from rev 658419, acpilight/trunk/acpilight.install)

-------------------+
 PKGBUILD          |   26 ++++++++++++++++++++++++++
 acpilight.install |    7 +++++++
 2 files changed, 33 insertions(+)

Copied: acpilight/repos/community-staging-any/PKGBUILD (from rev 658419, acpilight/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:20:39 UTC (rev 658422)
@@ -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.2
+pkgrel=2
+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
+sha256sums=('0b80cbe7edaf48307fc26dbb34c260ec9ed0c19c56743291e5a7cc23044ff9ae')
+
+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
+}

Copied: acpilight/repos/community-staging-any/acpilight.install (from rev 658419, acpilight/trunk/acpilight.install)
===================================================================
--- community-staging-any/acpilight.install	                        (rev 0)
+++ community-staging-any/acpilight.install	2020-07-07 13:20:39 UTC (rev 658422)
@@ -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