summaryrefslogtreecommitdiffstats
path: root/main/lua-md5/APKBUILD
blob: a7213c73e3ecdeda7e4796810f96a2056f48f328 (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=1
pkgdesc="Basic cryptographic facilities for Lua"
url="http://www.keplerproject.org/md5/"
arch="x86 x86_64"
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"