Fix QA checks in cfourcc

This commit is contained in:
2021-03-08 08:27:02 +02:00
parent 454f9b8440
commit 3828dd8272
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -5,7 +5,7 @@ EAPI=7
DESCRIPTION="console fourcc changer"
HOMEPAGE="https://github.com/mypapit/cfourcc"
SRC_URI="https://github.com/mypapit/${PN}/archive/${PV}.tar.gz"
SRC_URI="https://github.com/mypapit/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
RESTRICT="primaryuri"
LICENSE="GPL-2"
@@ -17,6 +17,14 @@ DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
sed -i 's/CFLAGS=/CFLAGS+=/
s/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/
s/strip/#strip/' Makefile || die
}
src_install() {
mkdir "${D}/bin"
emake install PREFIX="${D}" || die "install failed"