[arch-commits] Commit in brightnessctl/repos/community-x86_64 (3 files)

Christian Rebischke shibumi at archlinux.org
Sat Apr 4 11:57:52 UTC 2020


    Date: Saturday, April 4, 2020 @ 11:57:51
  Author: shibumi
Revision: 611561

archrelease: copy trunk to community-x86_64

Added:
  brightnessctl/repos/community-x86_64/PKGBUILD
    (from rev 611560, brightnessctl/trunk/PKGBUILD)
Deleted:
  brightnessctl/repos/community-x86_64/PKGBUILD
  brightnessctl/repos/community-x86_64/brightnessctl.install

-----------------------+
 PKGBUILD              |   58 ++++++++++++++++++++++++------------------------
 brightnessctl.install |    6 ----
 2 files changed, 29 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 11:57:43 UTC (rev 611560)
+++ PKGBUILD	2020-04-04 11:57:51 UTC (rev 611561)
@@ -1,29 +0,0 @@
-# Maintainer: Antoine Damhet <antoine.damhet at lse.epita.fr>
-
-pkgname=brightnessctl
-pkgver=0.5.1
-pkgrel=1
-pkgdesc="Lightweight brightness control tool"
-arch=('x86_64')
-url='https://github.com/Hummer12007/brightnessctl'
-license=('MIT')
-source=(
-  "${pkgname}-${pkgver}.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/${pkgver}.tar.gz"
-)
-sha512sums=('41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7')
-install='brightnessctl.install'
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make UDEVDIR="/usr/lib/udev/rules.d" INSTALL_UDEV_RULES=1 DESTDIR="$pkgdir" install
-
-  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: brightnessctl/repos/community-x86_64/PKGBUILD (from rev 611560, brightnessctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-04 11:57:51 UTC (rev 611561)
@@ -0,0 +1,29 @@
+# Maintainer: Antoine Damhet <antoine.damhet at lse.epita.fr>
+
+pkgname=brightnessctl
+pkgver=0.5.1
+pkgrel=2
+pkgdesc="Lightweight brightness control tool"
+arch=('x86_64')
+url='https://github.com/Hummer12007/brightnessctl'
+license=('MIT')
+depends=('systemd-libs')
+source=(
+  "${pkgname}-${pkgver}.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/${pkgver}.tar.gz"
+)
+sha512sums=('41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  make ENABLE_SYSTEMD=1
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make ENABLE_SYSTEMD=1 DESTDIR="$pkgdir" install
+
+  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: brightnessctl.install
===================================================================
--- brightnessctl.install	2020-04-04 11:57:43 UTC (rev 611560)
+++ brightnessctl.install	2020-04-04 11:57:51 UTC (rev 611561)
@@ -1,6 +0,0 @@
-post_install() {
-  udevadm control --reload-rules
-  udevadm trigger -s leds -s backlight -c add
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list