aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/lua-md5/APKBUILD (renamed from main/md5/APKBUILD)15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/md5/APKBUILD b/main/lua-md5/APKBUILD
index 93e3747a92..79813e53ae 100644
--- a/main/md5/APKBUILD
+++ b/main/lua-md5/APKBUILD
@@ -1,18 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=md5
+pkgname="lua-md5"
+_name="md5"
pkgver=1.1.2
pkgrel=0
pkgdesc="Basic cryptographic facilities for Lua"
url="http://www.keplerproject.org/md5/"
license="MIT"
-depends="uclibc lua"
+depends="lua"
makedepends="lua-dev"
-source="http://luaforge.net/frs/download.php/3355/$pkgname-$pkgver.tar.gz"
+source="http://luaforge.net/frs/download.php/3355/$_name-$pkgver.tar.gz"
+replaces="md5"
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$srcdir/$_name-$pkgver"
make CFLAGS="$CFLAGS" || return 1
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
make PREFIX="$pkgdir"/usr install
}