mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 15:37:18 +00:00
mathmech 1.2.0
This commit is contained in:
parent
1547766003
commit
6b0e3a9b7f
@ -2,35 +2,38 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
||||||
|
|
||||||
pkgname=mathmech
|
pkgname=mathmech
|
||||||
pkgver=1.1.1
|
pkgver=1.2.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Software package for analysis of molecular dynamics trajectories"
|
pkgdesc="Software package for analysis of molecular dynamics trajectories"
|
||||||
arch=('i686' 'x86_64')
|
arch=(any)
|
||||||
url="https://github.com/arcan1s/moldyn"
|
url="http://arcan1s.github.io/projects/moldyn"
|
||||||
license=('GPL')
|
license=('Beerware')
|
||||||
depends=('qt4' 'qwt')
|
depends=('qt4' 'qwt')
|
||||||
makedepends=('automoc4' 'cmake')
|
makedepends=('cmake' 'automoc4')
|
||||||
source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip)
|
source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip)
|
||||||
md5sums=('6a7f3dd17ae4ad0498110aaaadea5a2b')
|
md5sums=('f3f01c7eefdedf23b4eadfbf59058332')
|
||||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr
|
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
-DQWT_INCLUDE_PATH=/usr/include/qwt
|
-DQWT_INCLUDE_PATH=/usr/include/qwt
|
||||||
-DQWT_LIBRARY_PATH=/usr/lib
|
-DQWT_LIBRARY_PATH=/usr/lib
|
||||||
-DMM_PREFIX=mm_
|
-DMM_PREFIX=mm_
|
||||||
-DADD_DOCS:BOOL=0
|
-DADD_DOCS:BOOL=0
|
||||||
|
-DADD_INCLUDE:BOOL=0
|
||||||
-DCMAKE_BUILD_TYPE=Release"
|
-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
|
||||||
build ()
|
prepare() {
|
||||||
{
|
[[ -d ${srcdir}/build ]] && rm -rf "${srcdir}/build"
|
||||||
if [[ -d ${srcdir}/build ]]; then
|
mkdir "${srcdir}/build"
|
||||||
rm -rf "${srcdir}/build"
|
}
|
||||||
fi
|
|
||||||
mkdir "${srcdir}/build"; cd "${srcdir}/build"
|
build() {
|
||||||
|
cd "${srcdir}/build"
|
||||||
cmake ${_cmakekeys} ../
|
cmake ${_cmakekeys} ../
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package()
|
package() {
|
||||||
{
|
|
||||||
cd "${srcdir}/build"
|
cd "${srcdir}/build"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -Dm644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user