summaryrefslogtreecommitdiff
path: root/community/galculator/PKGBUILD
blob: aa61c2a5e9fa187b3ee6f79cb88fb66ed8c3b1b6 (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
# Maintainer:  Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Alexander Fehr <pizzapunk gmail com>

pkgname=galculator
pkgver=1.3.4
pkgrel=2
pkgdesc="GTK+ based scientific calculator"
arch=('i686' 'x86_64' 'mips64el')
url="http://galculator.sourceforge.net/"
license=('GPL')
depends=('libglade')
makedepends=('intltool')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2")
md5sums=('d30e6fbf5947bb1c873bc9d5a21046f1')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  
  LDFLAGS+=' -lm'
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}