summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0fddbb0fe0cd32132ef53af2850cfa4111976df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Geballin - Guillaume Ballin <macniaque at free dot fr>
pkgname=naturaldocs2
pkgver=2.3
pkgrel=1
pkgdesc="Readable Source Code Documentation for 20 Programming Languages"
url="https://www.naturaldocs.org/"
arch=('x86_64' 'i686')
license=('AGPLv3')
depends=('mono')
optdepends=()
makedepends=(rsync)
conflicts=()
replaces=()
backup=()
install=
source=("https://www.naturaldocs.org/download/natural_docs/${pkgver}/Natural_Docs_${pkgver}.zip" naturaldocs2)

md5sums=('1bf973b682ce522f77b8353f14221e61' '92ec6333b5df1367b8464d0a0f06f49d')

build() {
  cd "${srcdir}/Natural Docs/"
  }

package() {
  mkdir -p "${pkgdir}/usr/share/${pkgname}/"
  mv "${srcdir}/Natural Docs" naturaldocs
  rsync -a ${srcdir}/naturaldocs/ "${pkgdir}/usr/share/${pkgname}/"
  mkdir -p ${pkgdir}/usr/bin/
  cp ${srcdir}/naturaldocs2 ${pkgdir}/usr/bin/
  }