updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / wyrd-bzr / PKGBUILD
blob161bcb651c08710897393a30cfb64d30842d257b
1 #Contributor: ormris ormris@ormris.com
3 pkgname="wyrd-bzr"
4 pkgver="297"
5 pkgrel="1"
6 pkgdesc="A text-based front-end to Remind."
7 arch=('i686' 'x86_64')
8 url="https://code.launchpad.net/~pelzlpj/wyrd/wyrd-dev"
9 license=('GPL2')
10 depends=('remind' 'ncurses' 'less')
11 makedepends=('bzr' 'ocaml' 'texlive-core' 'python' 'hevea')
12 source=()
13 md5sums=()
14 _bzrbranch=lp:~pelzlpj/wyrd
15 _bzrmod=wyrd-dev
18 build() {
19     cd $srcdir
20     msg "Connecting to the server..."
22     rm -rf ${_bzrmod}
23     bzr branch ${_bzrbranch}/${_bzrmod} -q -r ${pkgver}
25     msg "BZR checkout done or server timeout"
26     msg "Starting make..."
28     [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
29     cp -r ./${_bzrmod} ./${_bzrmod}-build
30     cd ./${_bzrmod}-build
32     ./prep-devtree.sh
34     cd ${srcdir}/${_bzrmod}-build/doc/
36     make all
38     cd ${srcdir}/${_bzrmod}-build/
40     ./configure --exec-prefix=/usr --prefix=/usr --sysconfdir=/etc
41     make || return 1
44 package() {
45     cd ${srcdir}/${_bzrmod}-build
47     make DESTDIR="$pkgdir" install