1 # Maintainer: Martin Lee <hellnest.fuah@gmail.com>
4 pkgdesc="Command-line TODO list manager"
9 url="http://taskwarrior.org/projects/show/taskwarrior"
13 source=(http://www.taskwarrior.org/download/${_pkgsrc}-${pkgver}.tar.gz)
14 sha256sums=('1020621c9bf885c3216a5c11cacced3c916b6495e0d09846b7438a152618d34a')
17 cd "${srcdir}/${_pkgsrc}-${pkgver}"
19 cmake -DCMAKE_INSTALL_PREFIX=/usr
26 cd "${srcdir}/${_pkgsrc}-${pkgver}/src"
27 install -Dm755 ${_pkgsrc} "${pkgdir}/bin/${_pkgsrc}"
29 cd "${srcdir}/${_pkgsrc}-${pkgver}/scripts/bash"
30 mkdir -p "${pkgdir}/etc/profile.d"
31 install -Dm755 ${_pkgsrc}_completion.sh "${pkgdir}/etc/profile.d/"
33 cd "${srcdir}/${_pkgsrc}-${pkgver}/doc/man"
34 install -Dm644 $_pkgsrc.1 "${pkgdir}/usr/share/man/man1/$_pkgsrc.1"
35 install -Dm644 $_pkgsrc-color.5 "${pkgdir}/usr/share/man/man5/$_pkgsrc-color.5"
36 install -Dm644 $_pkgsrc-faq.5 "${pkgdir}/usr/share/man/man5/$_pkgsrc-faq.5"
37 install -Dm644 taskrc.5 "${pkgdir}/usr/share/man/man5/taskrc.5"
38 install -Dm644 $_pkgsrc-sync.5 "${pkgdir}/usr/share/man/man5/$_pkgsrc-sync.5"
39 install -Dm644 $_pkgsrc-tutorial.5 "${pkgdir}/usr/share/man/man5/$_pkgsrc-tutorial.5"
41 cd "${srcdir}/${_pkgsrc}-${pkgver}/doc/rc"
42 mkdir -p "${pkgdir}/usr/share/${pkgname}/themes"
43 install -Dm644 *.theme "${pkgdir}/usr/share/${pkgname}/themes/"
44 install -Dm644 *.rc "${pkgdir}/usr/share/${pkgname}/"