vp-build/srcpkgs/makeself/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

43 lines
1.3 KiB
Plaintext

# Template file for 'makeself'
pkgname=makeself
version=2.1.5
distfiles="http://megastep.org/$pkgname/$pkgname-$version.run"
short_desc="Make self-extractable archives on Unix"
maintainer="Juan RP <xtraeme@gmail.com>"
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)."
noarch=yes
noextract=yes
Add_dependency full tar
Add_dependency full gzip
Add_dependency full bzip2 ">=0"
do_build()
{
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}.run .
chmod +x ${pkgname}-${version}.run
./${pkgname}-${version}.run
}
do_install()
{
local f
cd ${wrksrc}/${pkgname}-${version}
install -d ${DESTDIR}/usr/share/man/man1
for f in makeself makeself-header; do
install -D -m755 ${f}.sh ${DESTDIR}/usr/bin/${f}
done
install -m644 *.1 ${DESTDIR}/usr/share/man/man1
}