blob: 6794c8ca4c4adc467a8dce24c539f22d36859fe8 (
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
|
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
pkgname=physlock-git
pkgver=0.67.v0.4.4.7.g568a46e
pkgrel=1
pkgdesc="lightweight linux console locking tool (Git version)"
arch=('i686' 'x86_64')
license=('GPL')
url='https://github.com/muennich/physlock'
conflicts=('physlock')
source=("${pkgname}::git+https://github.com/muennich/physlock.git#branch=master")
md5sums=('SKIP')
pkgver () {
cd "${srcdir}/${pkgname}"
echo "0.$(git rev-list --count HEAD).$(git describe --always | sed 's|-|.|g')"
}
build() {
cd "${srcdir}/${pkgname}"
make
}
package() {
cd "${srcdir}/${pkgname}"
make PREFIX=${pkgdir}/usr install
}
|