1 # Maintainer: BxS <bxsbxs at gmail dot com>
3 pkgname=hitech-picc_bin
7 pkgdesc="C compiler for PIC10/12/16 MCUs"
9 url='http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en542849'
11 [ $CARCH = x86_64 ] && depends=(lib32-glibc)
12 provides=(hitech-picc)
13 conflicts=(hitech-picc)
14 options=(!strip docs libtool emptydirs !zipman)
15 install=hitech-picc_bin.install
16 instdir=/opt/hitech/picc/$_pkgver
17 installer=picc-$_pkgver-linux.run
18 source=(http://ww1.microchip.com/downloads/en/DeviceDoc/picc-$_pkgver-linux.zip)
19 md5sums=(a7bbd474955d2ff9e9f26495abc61b95)
22 echo -e "Creating the Package\n Please wait..."
26 mkdir -p $pkgdir$instdir
28 chmod 0755 $srcdir/$installer
29 $srcdir/$installer --noexec --nox11 --target $pkgdir$instdir &> /dev/null
31 rm $pkgdir$instdir/{reactivate.template,shell-install}
32 rm $pkgdir$instdir/bin/{activate,activate.dat}
34 mkdir -p $pkgdir/usr/share/licenses/$pkgname
35 ln -s $instdir/licence.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE