Created
April 12, 2017 15:07
-
-
Save Jamesxu182/e71122b1831d4a3f0ac63f0147c39353 to your computer and use it in GitHub Desktop.
New PKGBUILD for emsdk in AUR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr> | |
pkgname=emsdk | |
pkgver=1.35 | |
pkgrel=2 | |
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=('39114f25e1b3f4d1e15dc8d8f59227c30be855e79cbff91fbf2e3f31f7bb2cd1' | |
'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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment