makeself: fix makeself-header.sh not found

This commit is contained in:
innerspacepilot 2019-05-05 10:15:42 +03:00 committed by Helmut Pozimski
parent 098c4adfe7
commit 9575004f27

View file

@ -1,7 +1,7 @@
# Template file for 'makeself'
pkgname=makeself
version=2.4.0
revision=1
revision=2
archs=noarch
create_wrksrc=yes
makedepends="tar gzip bzip2"
@ -23,6 +23,9 @@ do_build() {
do_install() {
cd ${wrksrc}/${pkgname}-${version}
# rename makeself-header.sh to makeself-header inside makeself.sh because it will be renamed later
sed -i 's/^HEADER=\`dirname "$0"\`\/makeself-header.sh$/HEADER=\`dirname "$0"\`\/makeself-header/' makeself.sh
vmkdir usr/share/man/man1
for f in makeself makeself-header; do
vbin ${f}.sh ${f}