1 # Maintainer: Robin Martinjak <rob@kingofnerds.net>
5 pkgdesc="Utility to create self-extracting packages"
7 url="http://megastep.org/makeself"
10 md5sums=('85f03bd3602fd55debec6ae449f7c15c')
11 source=(http://megastep.org/makeself/makeself.run)
15 cd ${srcdir}/${pkgname}-${pkgver}
16 install -d ${pkgdir}/usr/{bin,share/{${pkgname},man/man1}}
17 install makeself.lsm README ${pkgdir}/usr/share/${pkgname}
18 install -m755 makeself.sh ${pkgdir}/usr/bin/makeself
19 install -m644 makeself.1 ${pkgdir}/usr/share/man/man1/
20 install -m755 makeself-header.sh ${pkgdir}/usr/share/${pkgname}
21 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i ${pkgdir}/usr/bin/makeself
24 # vim:set ts=2 sw=2 et: