blob: 1b269caf34f6d4bcf80140bcf5056b193bea5de4 (
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
|
# Maintainer: Ferdinand B <theferdi265@gmail.com>
pkgname=pyvtlock-git
pkgver=1.1.5.r1.g7aa133f
pkgrel=1
pkgdesc="A python-based console locking program (git version)"
url="https://github.com/Ferdi265/pyvtlock"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('python' 'pam' 'python-pam')
makedepends=('git')
source=("git+https://github.com/Ferdi265/pyvtlock")
md5sums=('SKIP')
install='pyvtlock.install'
pkgver() {
cd "$srcdir/pyvtlock"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/pyvtlock"
make PREFIX=/usr
}
package() {
cd "$srcdir/pyvtlock"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|