aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-md5/APKBUILD
blob: 9901639ea4b3603bfa354bd62acb5eb432200294 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname="lua-md5"
_name="md5"
pkgver=1.1.2
pkgrel=2
pkgdesc="Basic cryptographic facilities for Lua"
url="http://www.keplerproject.org/md5/"
arch="all"
license="MIT"
depends="lua"
makedepends="lua-dev"
source="http://luaforge.net/frs/download.php/3355/$_name-$pkgver.tar.gz"
replaces="md5"

build() {
	cd "$srcdir/$_name-$pkgver"
	make CFLAGS="$CFLAGS" || return 1
}

package() {
	cd "$srcdir/$_name-$pkgver"
	make PREFIX="$pkgdir"/usr install
}

md5sums="68874cff64547f2157d5ecdc3572b544  md5-1.1.2.tar.gz"