summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 834a20ef9430d627f7bf85f58d52ba66acddbb1c (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
31
32
# Maintainer: Michael Goehler <somebody dot here at gmx dot de>

pkgname=mdp-git
_pkgname=mdp
pkgver=1.0.8
pkgrel=1
pkgdesc="A command-line based markdown presentation tool."
arch=('i686' 'x86_64')
url="https://github.com/visit1985/mdp"
license=(GPL)
depends=('ncurses')
conflicts=('mdp')
makedepends=('gcc' 'make' 'binutils' 'git' 'ncurses')
source=('mdp::git+https://github.com/visit1985/mdp.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/${_pkgname}"
    git describe --tags | sed "s/-/./g"
}

build() {
    cd "$srcdir/${_pkgname}"
    make
}

package() {
    cd "$srcdir/${_pkgname}"
    make PREFIX="/usr" DESTDIR="$pkgdir" install
}

# vim:set ts=4 sw=4 et: