-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils toolchain-funcs flag-o-matic
+inherit toolchain-funcs flag-o-matic
DESCRIPTION="A small (static) UNIX Shell"
-HOMEPAGE="http://www.canb.auug.org.au/~dbell/"
-SRC_URI="http://www.canb.auug.org.au/~dbell/programs/${P}.tar.gz"
+HOMEPAGE="https://www.canb.auug.org.au/~dbell/"
+SRC_URI="https://www.canb.auug.org.au/~dbell/programs/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
RDEPEND="!static? ( ${DEPEND} )"
src_prepare() {
- epatch "${FILESDIR}"/sash-3.7-builtin.patch
+ eapply "${FILESDIR}"/sash-3.7-builtin.patch
sed \
-e "s:-O3:${CFLAGS}:" \
sed \
-e 's:linux/ext2_fs.h:ext2fs/ext2_fs.h:g' \
-i cmd_chattr.c || die
+ eapply_user
}
src_compile() {
}
src_install() {
- into /
dobin sash
doman sash.1
dodoc README