mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/physlock: new aport
This commit is contained in:
parent
fe151e88ba
commit
680f404fcb
32
testing/physlock/APKBUILD
Normal file
32
testing/physlock/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Contributor: Max Rees <maxcrees@me.com>
|
||||
# Maintainer: Max Rees <maxcrees@me.com>
|
||||
pkgname=physlock
|
||||
pkgver=0.5
|
||||
pkgrel=0
|
||||
pkgdesc="Lightweight linux console locking tool"
|
||||
url="https://github.com/muennich/physlock"
|
||||
arch="all"
|
||||
license="GPL2"
|
||||
makedepends="linux-headers"
|
||||
depends=""
|
||||
install=""
|
||||
subpackages="${pkgname}-doc"
|
||||
source="${pkgname}-${pkgver}.tar.gz::https://github.com/muennich/physlock/archive/v${pkgver}.tar.gz"
|
||||
builddir="${srcdir}/${pkgname}-${pkgver}"
|
||||
options="!check suid"
|
||||
|
||||
prepare() {
|
||||
default_prepare || return
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
|
||||
}
|
||||
|
||||
sha512sums="0e22d2c1093556e2ca52da4ee36e53a7eebf9c2cf8e10592c95971aa3479c3ee1a31b9d71e52fca715a483f22740f6cf9a3c167fb61e4c6034a2ecf900fd5f9d ${pkgname}-${pkgver}.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user