summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c76703cf34c5cf35a2bc3e6f6be117bb9bc13034 (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.3
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
}

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

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

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