updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / icon / PKGBUILD
blobfa7a687f017d6d008bbe991081c4019403fab966
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=icon  
3 pkgver=950
4 pkgrel=1
5 pkgdesc="The Icon programming language"
6 url="http://www.cs.arizona.edu/icon/"
7 arch=('i686' 'x86_64')
8 depends=('sh' 'libx11')
9 license=('custom')
10 source=(http://www.cs.arizona.edu/icon/ftp/packages/unix/icon-v${pkgver}src.tgz LICENSE)
11 md5sums=('3f9b89bb8f2c0fb3e9c75d1b52fb5690'
12          '46e837548bf46e5b0db662322650eb4f')
13 build() {
14   cd $srcdir/$pkgname-v${pkgver}src
15   install -d $pkgdir/usr/share 
16   make X-Configure name=linux 
17   make -j 1
18   make Install dest=$pkgdir/usr/share/icon 
19   for _i in colrbook colrpick fontpick icont iconx palette vib wevents 
20   do
21     install -D -m755 $pkgdir/usr/share/icon/bin/$_i $pkgdir/usr/bin/$_i 
22     rm $pkgdir/usr/share/icon/bin/$_i
23   done
24   cd $pkgdir/usr/share/icon/bin
25   rm icon
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
30   for _i in icont icon
31   do
32     install -D -m644 $pkgdir/usr/share/icon/man/man1/$_i.1 \
33       $pkgdir/usr/share/man/man1/$_i.1
34   done
35   cd $pkgdir/usr/bin
36   ln -s icont icon
37   install -D -m644 $srcdir/LICENSE \
38     $pkgdir/usr/share/licenses/icon/LICENSE