aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-discount
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-30 06:16:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-30 06:16:13 +0000
commit7ce6b74947517cc097bfb427bef26e54f8da4149 (patch)
tree166cc571a0ffad2a191dd386b261fcc2dc3b0d4d /main/lua-discount
parent6ca9d7f656434f67c7409e408c980f824db897af (diff)
downloadaports-7ce6b74947517cc097bfb427bef26e54f8da4149.tar.bz2
aports-7ce6b74947517cc097bfb427bef26e54f8da4149.tar.xz
main/lua-discount: moved from testing
Diffstat (limited to 'main/lua-discount')
-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 0000000000..9fe7cfd373
--- /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"