summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad59808b6bf00cf4f554e679cd94ee2cab571b66 (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

# BlackBoard username and password
_username=
_password=

pkgname=civic
pkgver=2018
pkgrel=1
pkgdesc="CiviC Toolchain used in the UvA Compiler Construction course"
arch=('x86_64')
license=('custom:UvA Proprietary')
source=("toolchain-linux-x64-static.tgz::https://${_username}:${_password}@blackboard.uva.nl/bbcswebdav/pid-6926466-dt-content-rid-10679020_1/xid-10679020_1")
md5sums=('a42d166e73b8454e839c1c7d7fcd8036')

package() {
    cd "${srcdir}/bin/"
    install -dm 755 "${pkgdir}/usr/bin"
    install -m 755 "civas" "${pkgdir}/usr/bin"
    install -m 755 "civcc" "${pkgdir}/usr/bin"
    install -m 755 "civvm" "${pkgdir}/usr/bin"
    install -m 755 "civrun" "${pkgdir}/usr/bin"
    
    install -dm 755 "${pkgdir}/usr/include"
    install -m 644 "civic.h" "${pkgdir}/usr/include"
}