summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46f1c2f1d8f4fad89d5148b663e7e2e8a6178278 (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
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=emsdk
pkgver=1.35
pkgrel=6
pkgdesc='The Emscripten SDK'
arch=('x86_64')
url='https://kripken.github.io/emscripten-site/'
license=('MIT')
depends=('python2' 'cmake')
source=("https://s3.amazonaws.com/mozilla-games/emscripten/releases/$pkgname-portable.tar.gz"
        'emsdk.sh')
sha256sums=('SKIP'
            '88a64d125b390a0b00ab79abaa5ff7a73dedc734701ea3ccca265598f09e9d60')

package()
{
    install --mode 755 --directory "$pkgdir/usr/bin"
    install --mode 755 emsdk.sh "$pkgdir/usr/bin/emsdk"

    cd "$srcdir/${pkgname}-portable"

    install --mode 755 --directory "$pkgdir/usr/lib/$pkgname"
    install --mode 755 emsdk "$pkgdir/usr/lib/$pkgname"
    install --mode 755 emsdk_manifest.json "$pkgdir/usr/lib/$pkgname"
}