blob: b299fdb9f09d6edefb828d0945621f9277d5f944 (
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
33
34
35
36
37
38
|
# Maintainer: Grégoire Duchêne <gduchene@fastmail.net>
pkgname=mppdown-git
pkgver=20110906
pkgrel=1
pkgdesc="A C++ implementation of the mdown specification"
arch=('i686' 'x86_64')
url="http://repo.or.cz/w/mppdown.git"
license=('custom:ISC')
depends=('boost-libs')
makedepends=('boost-build' 'boost')
_gitroot="git://repo.or.cz/mppdown.git"
_gitname="mppdown"
build() {
cd $srcdir
msg "Connecting to the GIT server...."
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done"
msg "Starting make..."
msg "Please be aware that compilation may take some time!"
cd ${srcdir}/${_gitname}
bjam release mppdown
}
package() {
cd ${srcdir}/${_gitname}
DIST=${pkgdir} bjam release dist
}
|