summaryrefslogblamecommitdiff
path: root/user/acpilight/APKBUILD
blob: 0fc2d15dcd333000d8af05b58e53c4a9d1ed5dc1 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                         
          
                                            
                                         
             
                                                        
                  


                               
                                                                                       
                            
                                    
 
           






                                                            
                                                                                                                                                                   
                                                                                                                                                      
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=acpilight
pkgver=1.2
pkgrel=0
pkgdesc="Control backlight brightness level"
url="https://gitlab.com/wavexx/acpilight"
arch="noarch"
options="!check"  # Just a udev rule and a python script
license="GPL-3.0+"
depends="eudev python3"
makedepends=""
install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="https://gitlab.com/wavexx/acpilight/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
	rules-warning.patch"
builddir="$srcdir/$pkgname-v$pkgver"

package() {
	install -Dm755 xbacklight \
		"$pkgdir/usr/bin/xbacklight"
	install -Dm644 90-backlight.rules \
		"$pkgdir/lib/udev/rules.d/90-$pkgname.rules"
	install -Dm644 xbacklight.1 \
		"$pkgdir/usr/share/man/man1/xbacklight.1"
}

sha512sums="ef634ec0f315fe94dca138f1b9231f320b93340db3365ab9a09cf898fe4691f70573041bcb04563d760f1201000ea3ff11ab5dad3bfffddf3d3070dedb5732d7  acpilight-v1.2.tar.gz
1b04e8c92bd39f2230b351fc15c63a303f71768ebce58fff5ed3d99fcbc38b417a61214227ab8612e6212d8db775dad2b5f9bad58fddf57452e2ff2cfa4fd077  rules-warning.patch"