summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1156165797ead3376504ec3298f851712108b8b (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
39
40
41
# Maintainer: CĂ©lestin Matte aur [at] ploudseeker dot com
# Contributor: tealeaf joss-arch@pseudonymity.net
# Contributor: ormris ormris@ormris.com

pkgname="wyrd-git"
pkgver=20210805.45f1557
pkgrel=1
pkgdesc="A text-based front-end to Remind."
arch=('i686' 'x86_64')
url="https://github.com/Perdu/wyrd"
license=('GPL2')
provides=('wyrd')
conflicts=('wyrd')
depends=('remind' 'ncurses' 'less')
makedepends=('git' 'ocaml' 'camlp4' 'python'  'autoconf')
# doc: 'hevea' 'texlive-core' 'texlive-latexextra'
source=("git+https://github.com/Perdu/wyrd.git")
md5sums=('SKIP')

pkgver() {
        cd "$srcdir/${pkgname%-git}"
	git log -1 --format='%cd.%h' --date=short | tr -d - | sed 's/-/./'
}

build() {
        cd "$srcdir/${pkgname%-git}"
        autoconf
        # compile documentation (removed)
        # cd "$srcdir/${pkgname%-git}/doc/"
	# make all
        cd "$srcdir/${pkgname%-git}"
	./configure --exec-prefix=/usr --prefix=/usr --sysconfdir=/etc --enable-utf8
        make curses-clean
        make clean
	make
}

package() {
        cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install
}