updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / qsapecng / PKGBUILD
blobfd8d160759b76db54119a98c653e92945577c41b
1 pkgname=qsapecng
2 pkgver=2.0.0
3 pkgrel=1
4 pkgdesc="QSapecNG is a Qt-based symbolic analysis program for linear analog circuits."
5 arch=('i686' 'x86_64')
6 url="http://sourceforge.net/projects/qsapecng/"
7 license=('GPLv3')
8 depends=('qt' 'qwt5' 'boost-libs')
9 makedepends=('boost' 'doxygen' 'cmake')
10 source=("http://sourceforge.net/projects/qsapecng/files/QSapecNG-${pkgver}-source.tar.gz")
11 md5sums=('2ccbfb57d6c62f5017d29287555cddfa')
13 build(){
14   cd ${srcdir}
15   if [[ -d ${srcdir}/build ]]; then
16     msg "Cleaning the previous build directory..."
17     rm -rf ${srcdir}/build 
18   fi
19   mkdir ${srcdir}/build
20   cd ${srcdir}/build 
21   cmake ${srcdir}/QSapecNG-${pkgver}-source -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
22   make
25 package() { 
26   cd ${srcdir}/build
27   make DESTDIR="${pkgdir}" install