added feiertage-1.3

This commit is contained in:
tastytea 2018-05-10 08:33:24 +02:00
parent 0fbfcc62c7
commit 4e5eea280e
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST feiertage-1.3.tar.gz 13074 BLAKE2B fb0b366441713d90fe44d509476ffdfd4e9f50bcc0a7518750548586f78876ae7dfc30f9194c7273db61c7b81e70a4eecfd6978488ef26369edbcaaad2d7fb52 SHA512 7027dbc93571b6887a7590aab9e376779c07cbe7283a1646c7c57753a866e311d819434289aca155a98e118e80cbc49d5c8233c13fcc51467bbbe3286e26d3ac

View File

@ -0,0 +1,27 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit golang-build
DESCRIPTION="Gesetzliche Feiertage und mehr in Deutschland und Österreich (Bank holidays/public holidays in Austria and Germany)"
HOMEPAGE="https://github.com/wlbr/feiertage"
SRC_URI="https://github.com/wlbr/feiertage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
EGO_PN="."
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-lang/go-1.10.1"
src_prepare() {
mkdir -p src/github.com/wlbr
cd src/github.com/wlbr
ln -s feiertage ../../../
sed -Ei 's|GOOS=linux GOARCH=amd64 +([^_]+feiertage)_linux[^ ]+ +(cmd/.+)|\1 \2|' Makefile
sed -Ei 's|GOOS=.*\.go||' Makefile
}