blob: 3f5b630fcd8be48f661b66d8279d2ad0cad0fd8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Manel Castillo Giménez
pkgname="sempiternum-git"
pkgver="0.1.1"
pkgrel="1"
pkgdesc="Software to analyze Holomorphic Maps and their dynamics"
arch=("x86_64")
url="https://github.com/ManelCG/sempiternum"
depends=("libclc" "opencl-headers" "ocl-icd" "gtk3" "cairo" "pango" "pixman" "ffmpeg")
conflicts=("sempiternum")
optdepends=(
"opencl-amd: For AMD GPUs"
"opencl-nvidia: For Nvidia GPUS"
)
_gitroot="https://github.com/ManelCG/Sempiternum.git"
_gitname="sempiternum"
source=()
sha256sums=()
package(){
echo "Building Sempiternum..."
cd ${srcdir}
echo "Downloading Sempiternum from github..."
if [ -d ${srcdir}/${_gitname} ]; then
cd "${srcdir}/${_gitname}"
git pull origin
echo "Local files updated..."
else
git clone ${_gitroot} ${srcdir}/${_gitname}
fi
cd ${srcdir}/${_gitname}
git checkout develop
echo "Git checkout done"
echo "Starting configure"
make BDIR=${pkgdir} archlinux
}
|