summaryrefslogblamecommitdiff
path: root/user/rfkill/APKBUILD
blob: 9f9889e9a5a8637ea865edefddc8cfe9d53254d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                  
        


                                                                    

                                  


              
                          

                                                                                










                                      

                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rfkill
pkgver=0.5
pkgrel=1
pkgdesc="Tool to query the state of the rfkill switches and buttons"
url="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://www.kernel.org/pub/software/network/rfkill/rfkill-$pkgver.tar.xz
	dont-use-git.patch"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="6ad4d28e7bf7ec69ec6a600cd774b7b3c60e85849ae3fca0f5509ed6a283ed5656d37cfd770df45ff1ceca59edd814807d116b30e199fca303baf496441419d7  rfkill-0.5.tar.xz
635d948b4addfb418a3dd1a0f2482b15e5dae7e161f3fc1a430a2052d2aeb4e0d0a8c7663e27d1f8741920a497f0e36bac949f14544f5157f037315822a08d04  dont-use-git.patch"