blob: f8be5c4a04cd68e657145af4841cbcbccb092adf (
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: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=mdl
pkgver=1.1.3
pkgrel=1
epoch=1
pkgdesc="MarkDown Less is a Markdown displayer"
arch=('x86' 'x86_64')
url='https://github.com/dopsi/mdl'
license=('MIT')
provides=('mdl')
conflicts=('MDL')
depends=('boost-libs')
makedepends=('cmake' 'boost')
source=("http://github.com/dopsi/${pkgname}/archive/v${pkgver}.tar.gz")
sha1sums=('454ed11650f6d48b6e5870e2895e164b6d7093ae')
build() {
cd "${srcdir}/mdl-${pkgver}"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/mdl-${pkgver}/build"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp ../LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:ts=4:sw=4:expandtab
|