summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72512654c0c17356076b09784abfabc179a0ec98 (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
# Maintainer: Alastair Pharo  asppsa at gmail dot com

pkgname=pure-pandoc
pkgver=0.1
pkgrel=2
pkgdesc="Converts Sphinx-formatted Pure documentation files to Markdown and other formats using Pandoc"
arch=("any")
license=('GPL')
url="http://purelang.bitbucket.org/"
depends=('pandoc>=1.12.3' 'gawk')
makedepends=()
groups=(pure-complete)

source=("https://bitbucket.org/purelang/pure-lang/downloads/$pkgname-$pkgver.tar.gz")
sha1sums=('2d46db3b23eb75ed9e3dc25abce64b911a6b12f7')

build() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=/usr || return 1
}

package() {
  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share/man/man1
  cd $srcdir/$pkgname-$pkgver
  make prefix=/usr DESTDIR=$pkgdir install || return 1
}