blob: 9d6318609f2f55c4fd06c70d85d4154941eb8923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Vladimir Cerny <blackvladimir@gmail.com>
pkgname=free42
pkgver=1.5.8f
pkgrel=1
pkgdesc="A complete re-implementation of the HP-42S calculator and the HP-82240 printer."
arch=('i686' 'x86_64')
url="http://thomasokken.com/free42/"
license=('GPL')
depends=('libxmu' 'gtk2')
source=("http://thomasokken.com/free42/upstream/$pkgname-nologo-$pkgver.tgz")
md5sums=('fe547945af079432507c3d0760ce3e68')
build() {
cd "$srcdir/$pkgname-nologo-${pkgver}/gtk"
echo 'LIBS := ${LIBS} -lX11' >> Makefile
make cleaner
make
make clean
make BCD_MATH=1
}
package() {
cd "$srcdir/$pkgname-nologo-${pkgver}/gtk"
install -d "$pkgdir/usr/bin"
cp free42bin "$pkgdir/usr/bin"
cp free42dec "$pkgdir/usr/bin"
echo "$pkgdir/usr/share/doc/Free42"
install -d "$pkgdir/usr/share/$pkgname"
cp README "$pkgdir/usr/share/$pkgname"
}
# vim:set ts=2 sw=2 et:
|