updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / aut2exe / PKGBUILD
blob063b4f4b6118ce3354c01bf1848ef17877483143
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 pkgname=aut2exe
3 pkgver=3.3.6.1
4 pkgrel=3
5 pkgdesc="AutoIt compiler (from au3 to exe)"
6 arch=('any')
7 url="http://www.autoitscript.com/"
8 license=('custom')
9 depends=('wine')
10 makedepends=('p7zip')
11 optdepends=('aut2exe-docs: help files and sample code')
12 md5sums=('a285f2a980d258fc1f095d12ada885e3'
13          '1bc07254a7e54c7e91d8340b87860270'
14          '4b9636dd42c12a66b586da8daf25c20c')
15 source=("http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-sfx.exe"
16         "http://www.autoitscript.com/autoit3/docs/license.htm"
17         "aut2exe.sh")
19 build() {
20   cd "$srcdir"
22   msg2 "Extracting..."
23   7z x autoit-v3-sfx.exe > /dev/null
24   mv install "$pkgname"
27 package() {
28   cd "$srcdir/$pkgname/Aut2Exe"
30   msg2 "Packaging executables..."
31   install -Dm644 Aut2exe.exe "$pkgdir/usr/bin/Aut2exe.exe"
32   install -Dm644 AutoItSC.bin "$pkgdir/usr/bin/AutoItSC.bin"
33   install -Dm644 upx.exe "$pkgdir/usr/bin/upx.exe"
34   install -Dm755 "$srcdir/aut2exe.sh" "$pkgdir/usr/bin/aut2exe"
36   msg2 "Packaging license..."
37   install -Dm644 "$srcdir/license.htm" \
38     "$pkgdir/usr/share/licenses/$pkgname/license.html"
40 # vim:set ts=2 sw=2 et: