summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81f8cbc577ae34a22f91eb74cb8a298b7fcd0d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tarn Burton <twburton at gmail dot com>
pkgname='naturaldocs'
pkgver=1.52
pkgrel=1
pkgdesc="An open-source documentation generator for multiple programming languages."
arch=('any')
url="http://www.naturaldocs.org/"
license=('AGPL3')
provides=('naturaldocs')
depends=('perl')
source=("http://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-$pkgver.zip")
noextract=("${source[@]%%::*}")
md5sums=('68e3982acae57b6befdf9e75b420fd80')

package() {
  mkdir -p "$pkgdir/usr/share/naturaldocs/"
  bsdtar -x -f "NaturalDocs-$pkgver.zip" -C "$pkgdir/usr/share/naturaldocs/"
  chmod +x "$pkgdir/usr/share/naturaldocs/NaturalDocs"
  mkdir -p "$pkgdir/usr/bin"
  ln -s /usr/share/naturaldocs/NaturalDocs "$pkgdir/usr/bin/NaturalDocs"
  ln -s /usr/share/naturaldocs/NaturalDocs "$pkgdir/usr/bin/naturaldocs"
  chmod o-w -R "$pkgdir/usr/share/naturaldocs/"
}