summaryrefslogtreecommitdiff
path: root/community/extrema/PKGBUILD
blob: 317ea83d40ef62626e928c8783d9fd90184efe6f (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
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com>

pkgname=extrema
pkgver=4.4.5
pkgrel=1
pkgdesc='Extrema is a powerful visualization and data analysis tool.'
arch=('i686' 'x86_64')
url='http://exsitewebware.com/extrema/index.html'
license=('GPL')
depends=('wxgtk' 'zlib' 'libxml2' 'libpng')
source=("http://downloads.sourceforge.net/project/extrema/extrema/extrema-linux%20v${pkgver}/extrema-${pkgver}.tar.gz"
        'extrema.desktop')
md5sums=('8a1e82b34874db2bfa64d9a2956677b1'
         '0f4d310d230e28436dff20e77aed71bb')
   
build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install 

  tar xf extrema_icons.tar.bz2
  install -D -m644 32x32/apps/extrema.png \
    ${pkgdir}/usr/share/pixmaps/extrema.png

  install -D -m644 ${srcdir}/extrema.desktop \
    ${pkgdir}/usr/share/applications/extrema.desktop
}