app-backup/timeshift-autosnap: fix src_unpack phase

Remove redundant src_compile

Closes: https://bugs.gentoo.org/933685
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-06-06 14:27:51 +02:00
parent 5fb8efbef7
commit 5f55e3b882

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2021 Gentoo Authors
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,15 +27,6 @@ $ touch /etc/portage/bashrc
$ grep -q "#!/bin/" /etc/portage/bashrc || awk -i inplace "BEGINFILE{print "#!/bin/sh"}{print}" /etc/portage/bashrc
$ grep -q timeshift-autosnap /etc/portage/bashrc || echo "function pre_pkg_setup() { /usr/bin/timeshift-autosnap ; }" >> /etc/portage/bashrc'
src_unpack() {
default
mv "${WORKDIR}"/timeshift-autosnap-${PV}* "${WORKDIR}"/timeshift-autosnap-${PV} || die
}
src_compile(){
:
}
src_install(){
dobin timeshift-autosnap
insinto /etc