summaryrefslogtreecommitdiffstats
path: root/main/lua-discount/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-discount/APKBUILD')
-rw-r--r--main/lua-discount/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/lua-discount/APKBUILD b/main/lua-discount/APKBUILD
new file mode 100644
index 000000000..9fe7cfd37
--- /dev/null
+++ b/main/lua-discount/APKBUILD
@@ -0,0 +1,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"