summaryrefslogtreecommitdiffstats
path: root/main/lua-discount/APKBUILD
blob: be0d689a0f1d8ffac1e1f509440b0bbe4054bea6 (plain)
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=1
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"