void-packages/srcpkgs/makeself/template

35 lines
912 B
Bash

# Template file for 'makeself'
pkgname=makeself
version=2.3.1
revision=1
noarch=yes
create_wrksrc=yes
makedepends="tar gzip bzip2"
depends="${makedepends}"
short_desc="Make self-extractable archives on Unix"
homepage="http://www.megastep.org/makeself/"
license="GPL-2+"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://github.com/megastep/$pkgname/releases/download/release-$version/$pkgname-$version.run"
checksum=48b2b0f0b2c7a8b91d98be9c7252bf222d9109b145c482c0f05149230e3af1ca
do_extract() {
:
}
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.run .
chmod +x ${pkgname}-${version}.run
./${pkgname}-${version}.run --target ${pkgname}-${version}
}
do_install() {
cd ${wrksrc}/${pkgname}-${version}
vmkdir usr/share/man/man1
for f in makeself makeself-header; do
vinstall ${f}.sh 755 usr/bin ${f}
done
install -m644 *.1 ${DESTDIR}/usr/share/man/man1
}