void-packages/srcpkgs/makeself/template

35 lines
813 B
Plaintext
Raw Normal View History

2010-12-23 02:12:47 +01:00
# Template file for 'makeself'
pkgname=makeself
version=2.1.5
2014-02-21 14:32:48 +01:00
revision=3
noarch=yes
create_wrksrc=yes
makedepends="tar gzip bzip2"
depends="${makedepends}"
2010-12-23 02:12:47 +01:00
short_desc="Make self-extractable archives on Unix"
2013-03-31 09:51:32 +02:00
homepage="http://www.megastep.org/makeself/"
license="GPL-2+"
2010-12-23 02:12:47 +01:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://megastep.org/$pkgname/$pkgname-$version.run"
2010-12-23 02:12:47 +01:00
checksum=8227668bb35c34d86e6f0fe69c7bf4bd2813f51edfcbfc227896b4787b0a1a4e
2014-02-21 14:32:48 +01:00
do_extract() {
:
}
2010-12-23 02:12:47 +01:00
do_build() {
2010-12-23 02:12:47 +01:00
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}.run .
chmod +x ${pkgname}-${version}.run
./${pkgname}-${version}.run
}
do_install() {
2010-12-23 02:12:47 +01:00
cd ${wrksrc}/${pkgname}-${version}
2014-02-21 14:32:48 +01:00
vmkdir usr/share/man/man1
2010-12-23 02:12:47 +01:00
for f in makeself makeself-header; do
2014-02-21 14:32:48 +01:00
vinstall ${f}.sh 755 usr/bin ${f}
2010-12-23 02:12:47 +01:00
done
install -m644 *.1 ${DESTDIR}/usr/share/man/man1
}