Created
March 8, 2020 12:31
-
-
Save dreness/e094df76553fd83630d4e041d96cdadb to your computer and use it in GitHub Desktop.
mingw-w64-mujs-git
This file contains hidden or 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
_realname=mujs | |
pkgbase=mingw-w64-${_realname}-git | |
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git" | |
pkgrel=1 | |
pkgver=1.0.6_18_g6f93cab | |
pkgdesc='MuJS (mingw-w64)' | |
url='https://mujs.com/' | |
arch=('any') | |
source=("${_realname}"::"git+https://git.ghostscript.com/mujs.git") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "$srcdir/$_realname" | |
printf "%s" "$(git describe --tags --always | tr '-' '_')" | |
} | |
build() { | |
cd ${srcdir}/${_realname} | |
make release | |
} | |
package() { | |
cd ${srcdir}/${_realname} | |
make prefix=${pkgdir}${MINGW_PREFIX} install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment