diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..629191c8e137 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = mirth + pkgdesc = Compiler for the Mirth programming language + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/mirth-lang/mirth + arch = i686 + arch = x86_64 + license = BSD0 + makedepends = git + makedepends = gcc + makedepends = make + provides = mirth + conflicts = mirth + source = mirth::git+https://github.com/mirth-lang/mirth.git + sha256sums = SKIP + +pkgname = mirth-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c929ac2a87d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Sierra <sierra at casuallyblue dot dev> +pkgname="mirth-git" +pkgver=0.0.1 +pkgrel=1 +pkgdesc=" Compiler for the Mirth programming language" +arch=('i686' 'x86_64') +url="https://github.com/mirth-lang/mirth" +license=('BSD0') +groups=() +makedepends=('git' 'gcc' 'make') +conflicts=("mirth") +provides=("mirth") +source=(mirth::git+https://github.com/mirth-lang/mirth.git) +sha256sums=(SKIP) + +build() { + cd "${srcdir}/mirth" + + make build +} + +package() { + cd "${srcdir}/mirth" + + install -Dm755 bin/mirth2 "${pkgdir}/usr/bin/mirth" + + cd src + + find std -type f -exec install -Dm 644 "{}" "${pkgdir}/usr/lib/mirth/{}" \; + find posix -type f -exec install -Dm 644 "{}" "${pkgdir}/usr/lib/mirth/{}" \; + find args -type f -exec install -Dm 644 "{}" "${pkgdir}/usr/lib/mirth/{}" \; +} |