mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
c04250fe2e
Packages that do not support latest Lua have been moved to the CCR. If requested, we could package lua52 and lua51 in the official repoitories to support popular packages that have not yet caught up with latest Lua.
26 lines
808 B
Bash
26 lines
808 B
Bash
pkgname=lua-filesystem
|
|
_pkgname=luafilesystem
|
|
pkgver=1.6.3
|
|
_tag=v_${pkgver//./_}
|
|
pkgrel=2
|
|
pkgdesc='File System Library for the Lua Programming Language'
|
|
arch=('x86_64')
|
|
url='http://www.keplerproject.org/luafilesystem/'
|
|
license=('MIT')
|
|
depends=('lua')
|
|
#source=(http://github.com/downloads/keplerproject/$pkgbase/$pkgbase-$pkgver.tar.gz
|
|
source=(luafilesystem-$_tag.tar.gz::https://github.com/keplerproject/$_pkgname/archive/$_tag.tar.gz
|
|
LICENSE)
|
|
sha1sums=('72bc1415e7eefb339742538505675c59bd69e6bb'
|
|
'8a797dd4280f1628f0e4434fc37c31d9c19382bc')
|
|
|
|
build() {
|
|
cd $_pkgname-$_tag
|
|
make LUA_INC=/usr/include/lua5.1
|
|
}
|
|
package() {
|
|
cd $_pkgname-$_tag
|
|
make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.1' install
|
|
install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|