mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 04:02:19 +01:00
29 lines
678 B
Plaintext
29 lines
678 B
Plaintext
# Maintainer: Natnae
|
|
pkgname=lua-stdlib
|
|
pkgver=12
|
|
pkgrel=0
|
|
pkgdesc="Lua library of modules for common programming tasks"
|
|
url="http://luaforge.net/projects/stdlib/"
|
|
license="MIT/X"
|
|
depends=
|
|
makedepends=
|
|
install=
|
|
subpackages="$pkgname-doc"
|
|
source="http://luaforge.net/frs/download.php/4232/stdlib-12.tar.gz"
|
|
|
|
_builddir="$srcdir"/stdlib
|
|
_luashare=/usr/share/lua/5.1
|
|
build() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
install -d "$pkgdir"/$_luashare
|
|
install -m644 modules/*.lua "$pkgdir"/$_luashare/
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
|
|
install -m644 modules/*.html "$pkgdir"/usr/share/doc/$pkgname/
|
|
}
|
|
|
|
md5sums="34b07fde9931279d265f23492a22483b stdlib-12.tar.gz"
|