Edited PKGBUILDs

This commit is contained in:
arcan1s
2013-09-17 02:41:51 +04:00
parent 75e875357f
commit 5aeb4d5689
16 changed files with 198 additions and 129 deletions

View File

@ -5,11 +5,11 @@ pkgname=mathmech
pkgver=1.1.1
pkgrel=1
pkgdesc="Software package for analysis of molecular dynamics trajectories"
arch=(any)
arch=('i686' 'x86_64')
url="https://github.com/arcan1s/moldyn"
license=('GPL')
depends=('qt4' 'qwt')
makedepends=('cmake' 'automoc4')
makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip)
md5sums=('6a7f3dd17ae4ad0498110aaaadea5a2b')
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr
@ -26,12 +26,11 @@ build ()
fi
mkdir ${srcdir}/build && cd ${srcdir}/build
cmake ${_cmakekeys} ../
make
make || return 1
}
package()
package()
{
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} install || return 1
}