Added current pkgbuilds

This commit is contained in:
arcan1s
2013-09-11 01:27:20 +04:00
parent 6f7fb30c6e
commit 2560cb8c5b
23 changed files with 860 additions and 0 deletions

37
mathmech/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
# Author: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
pkgname=mathmech
pkgver=1.1.1
pkgrel=1
pkgdesc="Software package for analysis of molecular dynamics trajectories"
arch=(any)
url="https://github.com/arcan1s/moldyn"
license=('GPL')
depends=('qt4' 'qwt')
makedepends=('cmake' 'automoc4')
source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip)
md5sums=('6a7f3dd17ae4ad0498110aaaadea5a2b')
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr
-DQWT_INCLUDE_PATH=/usr/include/qwt
-DQWT_LIBRARY_PATH=/usr/lib
-DMM_PREFIX=mm_
-DADD_DOCS:BOOL=0
-DCMAKE_BUILD_TYPE=Release"
build ()
{
if [ -d ${srcdir}/build ]; then
rm -rf ${srcdir}/build
fi
mkdir ${srcdir}/build && cd ${srcdir}/build
cmake ${_cmakekeys} ../
make
}
package()
{
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}