www-apps/youp0m: new package
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
parent
c82e295f42
commit
12310ca65d
4 changed files with 61 additions and 0 deletions
34
www-apps/youp0m/youp0m-9999.ebuild
Normal file
34
www-apps/youp0m/youp0m-9999.ebuild
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN=git.nemunai.re/youp0m.git
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~mips"
|
||||
EGIT_COMMIT=v${PV}
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Display a daily cute picture"
|
||||
HOMEPAGE="https://ohsnap.p0m.fr"
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND="
|
||||
dev-go/go-crypt
|
||||
dev-go/resize
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
mv ${PN}.git ${PN}
|
||||
dobin ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.init ${PN}
|
||||
keepdir /var/lib/${PN}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue