Date: Wednesday, March 9, 2022 @ 12:45:58 Author: daurnimator Revision: 1145663
archrelease: copy trunk to community-x86_64 Added: luajit/repos/community-x86_64/PKGBUILD (from rev 1145662, luajit/trunk/PKGBUILD) Deleted: luajit/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-09 12:45:33 UTC (rev 1145662) +++ PKGBUILD 2022-03-09 12:45:58 UTC (rev 1145663) @@ -1,38 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Chris Brannon <ch...@the-brannons.com> -# Contributor: Paulo Matias <matiasΘarchlinux-br·org> -# Contributor: Anders Bergh <ande...@gmail.com> - -pkgname=luajit -# LuaJIT has abandoned versioned releases and now advises using git HEAD -# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583 -_commit=aa0550e3f0999cc6ef62f7ef80493ebef8c9a2f7 -pkgver="2.1.0.beta3.r389.g${_commit::8}" -pkgrel=1 -pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1' -arch=('x86_64') -url='https://luajit.org/' -license=('MIT') -depends=('gcc-libs') -options=('debug') -source=("LuaJIT-${_commit}.tar.gz::https://repo.or.cz/luajit-2.0.git/snapshot/${_commit}.tar.gz") -md5sums=('5c2d38f2eb60c4adbff79c65bf61efed') -sha256sums=('3a60eaf05d618cfae7482d7a2df4e34769f2532ddae97884e0c1b3da9c62658e') -b2sums=('467b81dbe0e0bb4754a86fb10525fb8f40439808740c7d7bc597a71b817d47136a9ec31cd50077a6057754f4d20383156e37111d130f48c7c674caefbb0560b5') - -build() { - cd "luajit-2.0-${_commit::7}" - # Avoid early stripping - make amalg PREFIX=/usr BUILDMODE=dynamic TARGET_STRIP=" @:" -} - -package() { - cd "luajit-2.0-${_commit::7}" - - make install DESTDIR="$pkgdir" PREFIX=/usr - install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" - - ln -sf luajit-2.1.0-beta3 "$pkgdir/usr/bin/luajit" -} Copied: luajit/repos/community-x86_64/PKGBUILD (from rev 1145662, luajit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-09 12:45:58 UTC (rev 1145663) @@ -0,0 +1,38 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Chris Brannon <ch...@the-brannons.com> +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Contributor: Anders Bergh <ande...@gmail.com> + +pkgname=luajit +# LuaJIT has abandoned versioned releases and now advises using git HEAD +# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583 +_commit=8b8304f16e03aa652be728f0dc957eadf42e4353 +pkgver="2.1.0.beta3.r391.g${_commit::8}" +pkgrel=1 +pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1' +arch=('x86_64') +url='https://luajit.org/' +license=('MIT') +depends=('gcc-libs') +options=('debug') +source=("LuaJIT-${_commit}.tar.gz::https://repo.or.cz/luajit-2.0.git/snapshot/${_commit}.tar.gz") +md5sums=('574028377c938dd23178b8a2bc9aa5b0') +sha256sums=('1bb3e7b77f16be19147c4968aca44844a2b379e377b45dd5a24753082610e714') +b2sums=('5350f9a5ebc7c2e819e6e5e53e93186c6280f2b8e85121cb8f43c545531a0c1172c9c43d5c5c950849131a2ead5897bb97669fe158f8424a584ae0bde321c6a0') + +build() { + cd "luajit-2.0-${_commit::7}" + # Avoid early stripping + make amalg PREFIX=/usr BUILDMODE=dynamic TARGET_STRIP=" @:" +} + +package() { + cd "luajit-2.0-${_commit::7}" + + make install DESTDIR="$pkgdir" PREFIX=/usr + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" + + ln -sf luajit-2.1.0-beta3 "$pkgdir/usr/bin/luajit" +}