summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7784a01c1f2a4f01522eb1aa516741e54555f461 (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
# Maintainer: Johannes Arnold <johannesarnold@stud.uni-hannover.de>
pkgname=mkmcxx
pkgver=2.15.3
pkgrel=1
epoch=
pkgdesc="Closed-source, freeware microkinetics modeling software written in C++."
arch=('x86_64')
url="https://www.mkmcxx.nl/"
license=('custom')
groups=()
depends=('cairo')
makedepends=('git')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("https://www.mkmcxx.nl/downloads/stable/mkmcxx-${pkgver}-debian-x64.tar.bz2")
noextract=()
sha256sums=("aae8a09f00c301b28bc08daf3b8e92f05f31b783da5704105aebda3b6d5e8b9c")
validpgpkeys=()

package() {
    cd "$srcdir/mkmcxx"

    # License
    install -Dm644 "$srcdir/../LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"

    # Main binary
    install -Dm755 bin/mkmcxx "$pkgdir/usr/bin/mkmcxx"

    # Example files
    find examples/ -type f -exec install -Dm644 {} "$pkgdir/usr/share/mkmcxx/{}" \;
}