rand/packages/app-security/over-crypt/over-crypt-scm.exheres-0
2018-12-12 23:03:31 +01:00

32 lines
688 B
Bash

# Copyright 2018 Martin Sekera <sekerama@gmail.com>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="An encrypted secret (noun) storage."
HOMEPAGE="https://git.aggregate.cz/overwatch/${PN}"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~armv7 ~x86"
MYOPTIONS=""
SCM_REPOSITORY="https://git.aggregate.cz/overwatch/${PN}.git"
if ! ever is_scm; then
SCM_BRANCH="${PV}"
fi
DEPENDENCIES="
run:
dev-python/over
dev-python/pycrypto
"
require scm-git
src_install() {
exeinto /usr/share/${PN}
doexe ${PN}.py
insinto /usr/share/${PN}
doins version.py
dodir /usr/$(exhost --target)/bin
dosym /usr/share/${PN}/${PN}.py /usr/$(exhost --target)/bin/${PN}
}