updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / free42 / PKGBUILD
blob54a14fa73410d4e81f5dc2b7e7214fb581a5d0ec
1 # Contributor: Vladimir Cerny <blackvladimir@gmail.com>
2 pkgname=free42
3 pkgver=1.4.68
4 pkgrel=1
5 pkgdesc="A complete re-implementation of the HP-42S calculator and the HP-82240 printer."
6 arch=('i686' 'x86_64')
7 url="http://thomasokken.com/free42/"
8 license=('GPL')
9 depends=('libxmu' 'gtk2')
10 #source=("http://downloads.sourceforge.net/sourceforge/free42/$pkgname.$pkgver.tgz")
11 source=("http://thomasokken.com/free42/download/free42.tgz")
12 md5sums=('86883ba8ad0d1f41ac915f11a3defc98')
14 build() {
16   cd "$srcdir/$pkgname/gtk"
18   make cleaner
19   make
20   make clean
21   make BCD_MATH=1
22   
23   install -d "$pkgdir/usr/bin"
24   cp free42bin "$pkgdir/usr/bin"
25   cp free42dec "$pkgdir/usr/bin"
26   echo "$pkgdir/usr/share/doc/Free42"
27   install  -d  "$pkgdir/usr/share/$pkgname"
28   cp README "$pkgdir/usr/share/$pkgname"
31 # vim:set ts=2 sw=2 et: