summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 297c45a3b15f4e57b4e738afd418adda64a22f1c (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
# Maintainer: Hans-Nikolai Viessmann <hv15@hw.ac.uk>
# Contributors: SaC Development Team <info@sac-home.org>
pkgname=sac2c
_version=1.2
_changes=467
_name=beta-BlackForest
_commit=gce8d4
pkgver="${_version}BETA${_changes}"
pkgrel=1
pkgdesc='Provides the compiler of the Single-Assignment C programming language.'
arch=('x86_64')
url='http://www.sac-home.org/'
license=('custom:SAC')
depends=('gcc' 'hwloc' 'libutil-linux' 'cuda')
source=("sac2c.rpm::http://www.sac-home.org/packages/RPM/RHEL7/${pkgname}-${_version}-${_name}-${_changes}-${_commit}-omnibus.rpm"
        'LICENSE.txt')
md5sums=('2f469bec80645b6d99c5d53a88788419'
         '84e0ebe0672290c68bf47dbae66287a2')

package() {
	cd "$pkgdir"

    # copy over RPM dir
    cp -r "${srcdir}/usr" .

    # install license file
    mkdir -p "usr/share/licenses/${pkgname}"
    cp "${srcdir}/LICENSE.txt" "usr/share/licenses/${pkgname}"
}