blob: 1b2667c7ebad949785b3d271609a63911922cdfb (
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
|
# Contributor: Dirk Sohler <spam@0x7be.de>
# Maintainer: Dirk Sohler <spam@0x7be.de>
# vim: ts=4:sw=4
pkgname=mkpassword-git
_gitname=mkpassword
pkgver=2.0.1
pkgrel=2
pkgdesc='A simple secure password generator.'
url='http://dev.0x7be.de/mkpassword.html'
arch=('any')
license=('GPL')
depends=('python>=3.0')
makedepends=('git')
branch='master'
source=("git://github.com/dsohler/mkpassword.git#branch=$branch")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
echo $(sed -n "s/^progversion='\(.*\)'/\1/p" mkpassword.py)
}
package() {
cd "$srcdir/$_gitname"
install -Dm 755 mkpassword.py $pkgdir/usr/bin/mkpassword
}
|