aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-discount/APKBUILD
blob: 9fe7cfd3732f78f03bb6daffbdb696d889377ddc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-discount
pkgver=1.2.10.1
pkgrel=0
pkgdesc="Lua binding to discount, a Markdown implementation in C"
url="http://asbradbury.org/projects/lua-discount"
license="BSD"
depends="lua"
makedepends="lua-dev"
install=
subpackages=
source="http://luaforge.net/frs/download.php/3758/lua-discount-1.2.10.1.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	make || return 1
	install -D -m644 discount.so "$pkgdir"/usr/lib/lua/5.1/discount.so
}

md5sums="7dc7055816dc755aacb48bfd5eb2eb5b  lua-discount-1.2.10.1.tar.gz"