updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / makeself / PKGBUILD
bloba4366d0190c1d78432c23abb124f55f9a0678718
1 # Maintainer: Robin Martinjak <rob@kingofnerds.net>
2 pkgname=makeself
3 pkgver=2.1.5
4 pkgrel=4
5 pkgdesc="Utility to create self-extracting packages"
6 arch=('any')
7 url="http://megastep.org/makeself"
8 license=('GPL2')
9 depends=('bash')
10 md5sums=('85f03bd3602fd55debec6ae449f7c15c')
11 source=(http://megastep.org/makeself/makeself.run)
13 build() {
14     /bin/sh 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: