[arch-commits] Commit in ldoc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 20:53:48 UTC 2018


    Date: Friday, November 9, 2018 @ 20:53:47
  Author: felixonmars
Revision: 404457

archrelease: copy trunk to community-staging-any

Added:
  ldoc/repos/community-staging-any/
  ldoc/repos/community-staging-any/PKGBUILD
    (from rev 404455, ldoc/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: ldoc/repos/community-staging-any/PKGBUILD (from rev 404455, ldoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 20:53:47 UTC (rev 404457)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sébastien Luttringer
+
+pkgname=ldoc
+pkgver=1.4.6
+pkgrel=2
+pkgdesc='LuaDoc-compatible documentation generation system'
+url='http://stevedonovan.github.com/ldoc/'
+arch=('any')
+license=('custom')
+depends=('lua' 'lua-penlight')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevedonovan/ldoc/archive/${pkgver}.tar.gz)
+sha512sums=('bcaddba4e462a4fb0aa0d8fcff390de3f195fa5cc569d8f05b84ad0fff900f5ac945be7a2eb15cf5ca60cc462f02c874579e4a19e33776178a04104ef9d944af')
+
+package() {
+  cd LDoc-${pkgver}
+
+  # install library
+  install -dm 755 "${pkgdir}/usr/share/lua/5.3"
+  cp -a ldoc "${pkgdir}/usr/share/lua/5.3"
+
+  # install binaries
+  install -Dm 755 ldoc.lua "${pkgdir}/usr/bin/ldoc.lua"
+  ln -s ldoc.lua "${pkgdir}/usr/bin/ldoc"
+
+  # copy docs
+  install -Dm 644 readme.md doc/doc.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list