updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / edfbrowser / PKGBUILD
blobb810b0eef1643cfb2639ed27dd7e7171d4b2eb7a
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=edfbrowser
4 pkgver=1.41
5 pkgrel=1
6 pkgdesc="A viewer and toolbox for timeseries storage files like EEG, EMG, ECG, BioImpedance, etc."
7 arch=(i686 x86_64)
8 url="http://www.teuniz.net/edfbrowser/"
9 license=('GPL')
10 depends=('qt')
11 install="$pkgname.install"
12 source=("$url${pkgname}_${pkgver/.}_source.tar.gz"
13         "$pkgname.desktop")
14 md5sums=('1edcf9b3b63ebb94041b5413cd71b209'
15          '15ee52eb704bf15498326a8ab29e2c91')
17 build() {
18   cd "$srcdir/${pkgname}_${pkgver/.}_source"
20   qmake
22   # FORTIFY_SOURCE causes internal
23   # compiler error in fidlib
24   make CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2}"
27 package() {
28   cd "$srcdir/${pkgname}_${pkgver/.}_source"
30   # bin
31   install -Dm 755 $pkgname \
32     "$pkgdir/usr/bin/$pkgname"
34   # desktop
35   install -Dm 644 ../$pkgname.desktop \
36     "$pkgdir/usr/share/applications/$pkgname.desktop"
38   # icon
39   install -Dm 644 images/edf.png \
40     "$pkgdir/usr/share/pixmaps/$pkgname.png"
43 # vim:set ts=2 sw=2 et: