summaryrefslogtreecommitdiff
path: root/user/rfkill/APKBUILD
blob: 3e2cad165621b2fdcba230606dcde7bb4bf103bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rfkill
pkgver=0.5
pkgrel=0
pkgdesc="Tool to query the state of the rfkill switches and buttons"
url="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
arch="all"
license="GPL"
depends=""
makedepends=""
install=""
options="!check"
subpackages="$pkgname-doc"
source="https://www.kernel.org/pub/software/network/rfkill/rfkill-$pkgver.tar.xz"

build() {
	cd "$builddir"
	make
}

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

sha512sums="6ad4d28e7bf7ec69ec6a600cd774b7b3c60e85849ae3fca0f5509ed6a283ed5656d37cfd770df45ff1ceca59edd814807d116b30e199fca303baf496441419d7  rfkill-0.5.tar.xz"