blob: e02626312bd96e66f8802ca1f37a5bc5d7c82c99 (
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
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Thomas Hartmann <thomas@th-ht.de>
pkgname=htcondor
pkgver=9.0.16
pkgrel=1
epoch=
pkgdesc="Distributed workload management system"
arch=("x86_64")
url="https://research.cs.wisc.edu/htcondor/"
license=('apache')
groups=()
depends=("boost" "munge" "libxss" "curl" "gawk" "java-runtime" "libcgroup" "pcre" "sqlite" "python" "boost-python2" "python2-setuptools" "python-setuptools")
makedepends=("cmake")
checkdepends=()
optdepends=()
provides=("htcondor")
conflicts=("htcondor")
replaces=()
backup=()
options=()
install=
changelog=
#source=("$pkgname-$pkgver.tar.gz::https://github.com/htcondor/htcondor/archive/V${pkgver//./_}.tar.gz")
source=("condor-$pkgver-src.tar.gz::https://research.cs.wisc.edu/htcondor/tarball/${pkgver::-3}/$pkgver/release/condor-$pkgver-src.tar.gz")
noextract=()
md5sums=('c83a91a9f197c0df01e77019306d555f')
validpgpkeys=()
build() {
cd "condor-$pkgver"
mkdir -p build_folder
cd build_folder
cmake -DSYSTEM_NAME=arch -DWITH_VOMS=False -DWITH_GLOBUS=False -DWITH_PYTHON_BINDINGS=True -DCMAKE_INSTALL_PREFIX=/opt/htcondor -DWITH_SCITOKENS=False ../
make
}
check() {
cd "condor-$pkgver/build_folder"
make tests
}
package() {
cd "condor-$pkgver/build_folder"
make DESTDIR="$pkgdir/" install
echo "export PATH=\$PATH:/opt/htcondor/bin" > $srcdir/htcondor.sh
echo "export PYTHONPATH=\$PYTHONPATH:/opt/htcondor/lib/python" >> $srcdir/htcondor.sh
install -Dm644 $srcdir/htcondor.sh $pkgdir/etc/profile.d/htcondor.sh
}
|