aboutsummaryrefslogtreecommitdiffstats
path: root/testing/physlock/APKBUILD
blob: efa9d46882ba45fb64bb1973a94e0372054c345e (plain)
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
28
29
30
31
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=physlock
pkgver=0.4.5
pkgrel=0
pkgdesc="Lightweight linux console locking tool"
url="https://github.com/muennich/physlock"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="linux-headers"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/muennich/physlock/archive/v${pkgver}.tar.gz"
options="suid"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	make PREFIX="/usr" \
		-C "$_builddir"
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" \
		-C "$_builddir" install
}

md5sums="5b39391638375c680599779aeee65569  physlock-0.4.5.tar.gz"
sha256sums="5ddb42553142c5e2b8744d086bb8f5bf131a29fc58b8886e825b80e6a456961c  physlock-0.4.5.tar.gz"
sha512sums="ab2e71bdc0004d97e3742cf8155602c036dafa22156147cc3cd4050c1665e54d4ca04ee8dc1f763e6369a5d6592524cbc8e10c56870905a1b13385640f4ec476  physlock-0.4.5.tar.gz"