aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-discount/APKBUILD
blob: 1736b0f77caa84ae57b95325ce9ffb2ac46ee630 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-discount
pkgver=1.2.10.1
pkgrel=2
pkgdesc="Lua binding to discount, a Markdown implementation in C"
url="http://asbradbury.org/projects/lua-discount"
arch="all"
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"