void-packages/srcpkgs/makeself/template
2017-01-25 17:06:21 +00:00

34 lines
881 B
Bash

# Template file for 'makeself'
pkgname=makeself
version=2.3.0
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=f28a63f325d3edcc82492fce03950c43a09aaffa22853a6c990931ef4d8414be
do_extract() {
:
}
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.run .
chmod +x ${pkgname}-${version}.run
./${pkgname}-${version}.run
}
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
}