[arch-commits] Commit in brightnessctl/trunk (PKGBUILD brightnessctl.install)

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


    Date: Saturday, April 4, 2020 @ 11:57:43
  Author: shibumi
Revision: 611560

upgpkg: brightnessctl 0.5.1-2 Fix #65628

Modified:
  brightnessctl/trunk/PKGBUILD
Deleted:
  brightnessctl/trunk/brightnessctl.install

-----------------------+
 PKGBUILD              |    8 ++++----
 brightnessctl.install |    6 ------
 2 files changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 11:53:27 UTC (rev 611559)
+++ PKGBUILD	2020-04-04 11:57:43 UTC (rev 611560)
@@ -2,25 +2,25 @@
 
 pkgname=brightnessctl
 pkgver=0.5.1
-pkgrel=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')
-install='brightnessctl.install'
 
 build() {
   cd "${pkgname}-${pkgver}"
-  make
+  make ENABLE_SYSTEMD=1
 }
 
 package() {
   cd "${pkgname}-${pkgver}"
-  make UDEVDIR="/usr/lib/udev/rules.d" INSTALL_UDEV_RULES=1 DESTDIR="$pkgdir" install
+  make ENABLE_SYSTEMD=1 DESTDIR="$pkgdir" install
 
   mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
   install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"

Deleted: brightnessctl.install
===================================================================
--- brightnessctl.install	2020-04-04 11:53:27 UTC (rev 611559)
+++ brightnessctl.install	2020-04-04 11:57:43 UTC (rev 611560)
@@ -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