1 # Maintainer: kfgz <kfgz at interia pl>
6 pkgdesc="Console application for conversion of seismic data to wav-pcm"
8 url="http://sourceforge.net/projects/sac2wav/"
11 source=(${pkgname}-${pkgver}.tgz::http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tgz/download)
12 md5sums=('545f8c05c14f05b29be15f325ae97124')
15 cd ${srcdir}/sac2wav/src
16 g++ sac2wav.cpp -march=native -o s2w -pipe -O2
18 cd ${srcdir}/sac2wavm/src
19 g++ sac2wavm.cpp -march=native -o s2wm -pipe -O2
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