diff options
-rw-r--r-- | main/lua-pc/APKBUILD (renamed from main/lpc/APKBUILD) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/lpc/APKBUILD b/main/lua-pc/APKBUILD index ad303c0ad7..856432058d 100644 --- a/main/lpc/APKBUILD +++ b/main/lua-pc/APKBUILD @@ -1,5 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=lpc +pkgname=lua-pc +_name=lpc pkgver=1.0.0 pkgrel=1 pkgdesc="Lua Process Call" @@ -10,8 +11,12 @@ depends="lua" source="http://lua.net-core.org/dl/telesto/lpc-$pkgver.tar.gz" build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$_name-$pkgver" make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -shared" +} + +package() { + cd "$srcdir/$_name-$pkgver" # does not respect DESTDIR make install PREFIX="$pkgdir"/usr } |