1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="The Icon programming language"
6 url="http://www.cs.arizona.edu/icon/"
8 depends=('sh' 'libx11')
10 source=(http://www.cs.arizona.edu/icon/ftp/packages/unix/icon-v${pkgver}src.tgz LICENSE)
11 md5sums=('3f9b89bb8f2c0fb3e9c75d1b52fb5690'
12 '46e837548bf46e5b0db662322650eb4f')
14 cd $srcdir/$pkgname-v${pkgver}src
15 install -d $pkgdir/usr/share
16 make X-Configure name=linux
18 make Install dest=$pkgdir/usr/share/icon
19 for _i in colrbook colrpick fontpick icont iconx palette vib wevents
21 install -D -m755 $pkgdir/usr/share/icon/bin/$_i $pkgdir/usr/bin/$_i
22 rm $pkgdir/usr/share/icon/bin/$_i
24 cd $pkgdir/usr/share/icon/bin
26 install -D -m644 $pkgdir/usr/share/icon/bin/libcfunc.so \
27 $pkgdir/usr/lib/libcfunc.so
28 rm $pkgdir/usr/share/icon/bin/libcfunc.so
29 rm -fr $pkgdir/usr/share/icon/bin
32 install -D -m644 $pkgdir/usr/share/icon/man/man1/$_i.1 \
33 $pkgdir/usr/share/man/man1/$_i.1
37 install -D -m644 $srcdir/LICENSE \
38 $pkgdir/usr/share/licenses/icon/LICENSE