Date: Tuesday, July 30, 2019 @ 00:20:35 Author: shibumi Revision: 494722
archrelease: copy trunk to community-x86_64 Added: brightnessctl/repos/community-x86_64/ brightnessctl/repos/community-x86_64/PKGBUILD (from rev 494721, brightnessctl/trunk/PKGBUILD) brightnessctl/repos/community-x86_64/brightnessctl.install (from rev 494721, brightnessctl/trunk/brightnessctl.install) -----------------------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ brightnessctl.install | 6 ++++++ 2 files changed, 35 insertions(+) Copied: brightnessctl/repos/community-x86_64/PKGBUILD (from rev 494721, brightnessctl/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-07-30 00:20:35 UTC (rev 494722) @@ -0,0 +1,29 @@ +# Maintainer: Antoine Damhet <antoine.dam...@lse.epita.fr> + +pkgname=brightnessctl +pkgver=0.4 +pkgrel=2 +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=('f0e1abe4dd7fc66a7990c0c42ecd9af079ba397fb0a49d339c5927fe639edbce4c30ecfcd16c3e0bf58de2eb4ca611dd1e1ce40eec9f95fe3960189c5e5396d8') +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/brightnessctl.install (from rev 494721, brightnessctl/trunk/brightnessctl.install) =================================================================== --- community-x86_64/brightnessctl.install (rev 0) +++ community-x86_64/brightnessctl.install 2019-07-30 00:20:35 UTC (rev 494722) @@ -0,0 +1,6 @@ +post_install() { + udevadm control --reload-rules + udevadm trigger -s leds -s backlight -c add +} + +# vim:set ts=2 sw=2 et: