aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2020-06-14 05:03:14 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-06-14 08:25:53 +0000
commit8cd0bd8f309afc31781730442abd78540894a9bf (patch)
treef442324458caf4b4c748f8a1a634821d4bb3344f
parent0dc6c0f00b8514beebdb0aaca1f3691d85cc5219 (diff)
main/luajit: add symlink from moonjit include dir to luajit
-rw-r--r--main/luajit/10-module-paths.patch (renamed from main/luajit/module-paths.patch)0
-rw-r--r--main/luajit/APKBUILD8
2 files changed, 5 insertions, 3 deletions
diff --git a/main/luajit/module-paths.patch b/main/luajit/10-module-paths.patch
index 46e8d12cf55..46e8d12cf55 100644
--- a/main/luajit/module-paths.patch
+++ b/main/luajit/10-module-paths.patch
diff --git a/main/luajit/APKBUILD b/main/luajit/APKBUILD
index 59083a06541..ca329c4593e 100644
--- a/main/luajit/APKBUILD
+++ b/main/luajit/APKBUILD
@@ -3,7 +3,7 @@
pkgname=luajit
_pkgname=moonjit
pkgver=2.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Integration fork of the original LuaJIT"
url="https://github.com/moonjit/moonjit"
arch="all"
@@ -11,7 +11,7 @@ license="MIT"
provides="lua"
subpackages="$pkgname-dev $pkgname-doc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/moonjit/moonjit/archive/$pkgver.tar.gz
- module-paths.patch"
+ 10-module-paths.patch"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -36,7 +36,9 @@ package() {
install -Dm644 COPYRIGHT \
"$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
+
+ cd "$pkgdir"/usr/include && ln -s moonjit-2.2 luajit
}
sha512sums="a940dd9973801f7067e376d62ec70ab5fbf635f59c648dcb45072f55290a6752abb3b1fa307bdd81d4bf05c719338e8fbda143f62861c61cb66b34cc9e8e7d54 moonjit-2.2.0.tar.gz
-9c6c410e142838c5128c70570e66beb53cc5422df5ecfb8ab0b5f362637b21ab5978c00f19bc1759165df162fd6438a2ed43e25020400011b7bb14014d87c62e module-paths.patch"
+9c6c410e142838c5128c70570e66beb53cc5422df5ecfb8ab0b5f362637b21ab5978c00f19bc1759165df162fd6438a2ed43e25020400011b7bb14014d87c62e 10-module-paths.patch"