33 lines
901 B
Bash
33 lines
901 B
Bash
# Template file for 'makeself'
|
|
pkgname=makeself
|
|
version=2.3.1
|
|
revision=1
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
makedepends="tar gzip bzip2"
|
|
depends="${makedepends}"
|
|
short_desc="Make self-extractable archives on Unix"
|
|
homepage="http://makeself.io"
|
|
license="GPL-2+"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="https://github.com/megastep/$pkgname/releases/download/release-$version/$pkgname-$version.run"
|
|
checksum=ca0ca386d97bd984f62e9475d9203e2df5fd5abfc55ff5c777e8d324909aa040
|
|
|
|
skip_extraction="$pkgname-$version.run"
|
|
|
|
do_build() {
|
|
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.run .
|
|
chmod +x ${pkgname}-${version}.run
|
|
./${pkgname}-${version}.run --target ${pkgname}-${version}
|
|
}
|
|
|
|
do_install() {
|
|
cd ${wrksrc}/${pkgname}-${version}
|
|
|
|
vmkdir usr/share/man/man1
|
|
for f in makeself makeself-header; do
|
|
vbin ${f}.sh ${f}
|
|
done
|
|
install -m644 *.1 ${DESTDIR}/usr/share/man/man1
|
|
}
|