blob: d5995efcb4256c034448a472d4d881a7e308c890 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=lua-signal
pkgver=1.200
pkgrel=1
pkgdesc="Signal library for Lua"
url=http://www.batbytes.com/files/
arch=all
license=MIT
depends=
makedepends=lua-dev
install=""
source="https://dev.alpinelinux.org/archive/lua-signal/lua-signal-${pkgver}.tar.gz"
_builddir=$srcdir/lua-signal
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
make -C "$_builddir"
}
package() {
local moddir="$pkgdir/usr/lib/lua/5.1"
mkdir -p "$moddir"
make -C "$_builddir" install SIGNAL_DESTINATION="$moddir"
}
sha512sums="e89adf5885623927609c1f2c8edc695c7e53c694d7a095e2c810e7b64cd5e1b48b22040fa360ead30347f315cda90f58558f55aa54aba658bbc11cb602e692f9 lua-signal-1.200.tar.gz"
|