mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-30 14:09:58 +00:00
Release 1.1.0
+ added help window + added help docs + small bug fixes
This commit is contained in:
@ -9,28 +9,30 @@ arch=(any)
|
||||
url="https://github.com/arcan1s/moldyn"
|
||||
license=('GPL')
|
||||
depends=('qt4' 'qwt')
|
||||
makedepends=('unzip' 'cmake' 'automoc4')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip)
|
||||
md5sums=('4eccb72efd4a8a531d7fda1aabc04f62')
|
||||
md5sums=('80420d6aa723d0944891113a510f06fe')
|
||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DQWT_INCLUDE_PATH=/usr/include/qwt
|
||||
-DQWT_LIBRARY_PATH=/usr/lib
|
||||
-DMM_PREFIX=mm_
|
||||
-DADD_INCLUDE=0
|
||||
-DADD_DOCS=0
|
||||
-DCMAKE_BUILD_TYPE=Release"
|
||||
|
||||
build ()
|
||||
{
|
||||
unzip -o -q ${srcdir}/${pkgname}-${pkgver}-src.zip -d ${srcdir}/${pkgname}
|
||||
if [ -d ${srcdir}/${pkgname}/build ]; then
|
||||
rm -rf ${srcdir}/${pkgname}/build
|
||||
if [ -d ${srcdir}/build ]; then
|
||||
rm -rf ${srcdir}/build
|
||||
fi
|
||||
mkdir ${srcdir}/${pkgname}/build && cd ${srcdir}/${pkgname}/build
|
||||
mkdir ${srcdir}/build && cd ${srcdir}/build
|
||||
cmake ${_cmakekeys} ../
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd ${srcdir}/${pkgname}/build
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user