blob: 954a83b657ceff3d47ed15c6f49518b4c53d58e3 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# Maintainer: Bastian Löher <b.loeher@gsi.de>
pkgname=fairsoft
pkgver=jul15p1
pkgrel=1
pkgdesc="Software collection provided by GSI/FAIR for analysis."
arch=('x86_64')
url="http://fairroot.gsi.de"
license=('LGPL3')
groups=()
makedepends=('cmake'
'clang'
'bison'
'flex'
'gcc-fortran'
'subversion'
'git'
'curl')
depends=(
'libiodbc'
'fcgi'
'sqlite'
'java-environment'
'glu'
'fftw'
'cfitsio'
'postgresql-libs'
'python'
'libjpeg-turbo'
'graphviz'
'libx11'
'libxft'
'libxext'
'libxpm'
'libxmu'
)
provides=()
conflicts=()
replaces=()
backup=()
options=('!emptydirs' '!strip' 'staticlibs' 'libtool')
install='fairsoft.install'
changelog=
source=("https://github.com/FairRootGroup/FairSoft/archive/${pkgver}.tar.gz"
'arch.conf'
'fairsoft.install')
noextract=()
md5sums=('ba06575c41988d27cb684126080536c8'
'd546737b7c15de7d71f6ea2090fa4b96'
'748ceeb13cf954c4f732f93023ae879e')
# Do not compress the package for installation
# PKGEXT='.pkg.tar'
# Compress using lightweight gzip
PKGEXT='.pkg.tar.gz'
prepare() {
mv FairSoft-$pkgver FairSoft
cd "FairSoft"
# Disable vc for the root package (needed for gcc 4.9.2)
# echo "Disabling vc for package root"
# sed -i "s/--enable-vc/--disable-vc/" tools/rootconfig.sh
# Enable optimizations for zeromq (needed from gcc 4.8)
# to suppress warning about FORTIFY_SOURCE=2 needing optimization
# echo "Enabling optimizations for zeromq"
# sed -i '/\.\/configure.*$/a echo "Patching src/Makefile" \
# sed -i "s/-O0/-O2/" src/Makefile' \
# scripts/install_zeromq.sh
}
build() {
:
}
package() {
installdir=${pkgdir}/opt/fairsoft/${pkgver}-${pkgrel}/src
cd "FairSoft"
mkdir -p ${installdir}
# Install files
cp -r ${srcdir}/* ${installdir}
}
|