updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / sac2wav / PKGBUILD
blobe0c030016a1d6e819862460cc22d5e2874c714f3
1 # Maintainer: kfgz <kfgz at interia pl>
3 pkgname=sac2wav
4 pkgver=0.9.2
5 pkgrel=2
6 pkgdesc="Console application for conversion of seismic data to wav-pcm"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/sac2wav/"
9 license=('GPL')
10 depends=('gcc-libs')
11 source=(${pkgname}-${pkgver}.tgz::http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tgz/download)
12 md5sums=('545f8c05c14f05b29be15f325ae97124')
14 build() {
15   cd ${srcdir}/sac2wav/src
16   g++ sac2wav.cpp -march=native -o s2w -pipe -O2
17    
18   cd ${srcdir}/sac2wavm/src
19   g++ sac2wavm.cpp -march=native -o s2wm -pipe -O2
22 package() {
23   install -dm755 ${pkgdir}/usr/bin
24   install -m755 ${srcdir}/sac2wav/src/s2w ${pkgdir}/usr/bin
25   install -m755 ${srcdir}/sac2wavm/src/s2wm ${pkgdir}/usr/bin