blob: c5a9de76d2333922559b1b1da06890ed2ebecdbb (
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
|
# Maintainer: Albert Berger < nbdspcl at gmail dot com>
pkgname=regd
pkgver=0.5.2
pkgrel=1
pkgdesc="Registry daemon, information cache and secure credential storage."
arch=('any')
url="https://github.com/nbdsp/regd"
license=('GPL')
groups=()
depends=('python>=3.3')
optdepends=()
makedepends=()
provides=("${pkgname}")
conflicts=("${pkgname}")
replaces=()
backup=()
options=()
install=
source=("${pkgname}::https://github.com/nbdsp/regd/archive/v0.5.2.tar.gz")
noextract=()
md5sums=('SKIP')
package() {
_username="$(id | sed -e 's/[^(]*(\([^)]*\)).*/\1/')"
cd "${pkgname}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 -o $_username "data/conf.${pkgname}" "$pkgdir/etc/${pkgname}/conf.${pkgname}"
install -Dm644 -o $_username "data/${pkgname}.1" "$pkgdir/usr/share/man/man1/${pkgname}.1"
}
|