diff --git a/srcpkgs/makeself/template b/srcpkgs/makeself/template index 28f20939af..d5dd04aea3 100644 --- a/srcpkgs/makeself/template +++ b/srcpkgs/makeself/template @@ -1,24 +1,21 @@ # Template file for 'makeself' pkgname=makeself version=2.1.5 -revision=2 -noarch="yes" -depends="tar gzip bzip2" +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 " distfiles="http://megastep.org/$pkgname/$pkgname-$version.run" checksum=8227668bb35c34d86e6f0fe69c7bf4bd2813f51edfcbfc227896b4787b0a1a4e -long_desc=" - makeself.sh is a small shell script that generates a self-extractable tar.gz - archive from a directory. The resulting file appears as a shell script - (many of those have a .run suffix), and can be launched as is. The archive - will then uncompress itself to a temporary directory and an optional arbitrary - command will be executed (for example an installation script). This is pretty - similar to archives generated with WinZip Self-Extractor in the Windows world. - Makeself archives also include checksums for integrity self-validation - (CRC and/or MD5 checksums)." + +do_extract() { + : +} do_build() { cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}.run . @@ -28,9 +25,10 @@ do_build() { do_install() { cd ${wrksrc}/${pkgname}-${version} - install -d ${DESTDIR}/usr/share/man/man1 + + vmkdir usr/share/man/man1 for f in makeself makeself-header; do - install -D -m755 ${f}.sh ${DESTDIR}/usr/bin/${f} + vinstall ${f}.sh 755 usr/bin ${f} done install -m644 *.1 ${DESTDIR}/usr/share/man/man1 }