summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 905a29d2b0cbc529170585f45553156049be663b (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: Miguel de Val-Borro <miguel@archlinux.net>
# Contributor: noonov <noonov@gmail.com>

pkgname=cueplot
pkgver=0.0.8
pkgrel=6
pkgdesc="A GUI front-end to gnuplot, which uses Qt library"
arch=('i686' 'x86_64')
url="http://sourceforge.jp/projects/cueplot/"
license=('GPL2')
depends=('qt4' 'gnuplot')
makedepends=('cmake')
conflicts=('cueplot-svn')
source=(http://dl.sourceforge.jp/cueplot/43138/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2835cae50eb47aee570ee4003198f9e5')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  cmake . \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
  make
}

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

  make DESTDIR=${pkgdir} install
}