1 # Maintainer: Your Name <address at domain dot com>
6 pkgdesc="An extended version of the Kernighan & Pike High Order Calculator"
8 url="http://nadav.harel.org.il/homepage/hoc/"
15 source=(http://nadav.harel.org.il/homepage/$pkgname/$pkgname-$pkgver.tgz)
17 md5sums=('3d11ba6f6731502b6c7efa8078573adc') #generate with 'makepkg -g'
20 cd $srcdir/$pkgname-$pkgver
21 ./configure --prefix=/usr || return 1
22 #sed -e 's/-s hoc.*$/-t $(bindir) hoc/' ./Makefile
23 sed -i 's#$(INSTALL_PROGRAM) -s hoc $(bindir)#$(INSTALL_PROGRAM) -s -t $(DESTDIR)$(bindir) hoc #' "$srcdir/$pkgname-$pkgver/Makefile"
24 #mkdir $pkgdir/usr/bin
25 install -d $pkgdir/usr/bin
27 make DESTDIR=$pkgdir install || return 1