[arch-commits] Commit in ldoc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jul 31 14:32:47 UTC 2020
Date: Friday, July 31, 2020 @ 14:32:46
Author: felixonmars
Revision: 666194
archrelease: copy trunk to community-staging-any
Added:
ldoc/repos/community-staging-any/
ldoc/repos/community-staging-any/PKGBUILD
(from rev 666193, ldoc/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: ldoc/repos/community-staging-any/PKGBUILD (from rev 666193, ldoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-31 14:32:46 UTC (rev 666194)
@@ -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=3
+pkgdesc='LuaDoc-compatible documentation generation system'
+url='https://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.4"
+ cp -a ldoc "${pkgdir}/usr/share/lua/5.4"
+
+ # 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