aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-md5/APKBUILD
blob: 5352d2780e6d353014b6df08b91e2402e7737ba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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/"
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"