void-packages/srcpkgs/makeself/template
2014-02-21 14:32:48 +01:00

34 lines
813 B
Text

# Template file for 'makeself'
pkgname=makeself
version=2.1.5
revision=3
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@gmail.com>"
distfiles="http://megastep.org/$pkgname/$pkgname-$version.run"
checksum=8227668bb35c34d86e6f0fe69c7bf4bd2813f51edfcbfc227896b4787b0a1a4e
do_extract() {
:
}
do_build() {
cp ${XBPS_SRCDISTDIR}/${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
}