Commit ce6d4af6 authored by Leo's avatar Leo Committed by Natanael Copa

main/taskd: fix url add missing bash dep

parent 0302688d
......@@ -3,40 +3,39 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=taskd
pkgver=1.1.0
pkgrel=4
pkgrel=5
pkgdesc="Taskserver synchronises taskwarrior across multiple clients"
url="http://taskwarrior.org"
url="https://taskwarrior.org"
arch="all"
license="MIT"
depends=""
depends="bash"
depends_dev="gnutls-dev util-linux-dev"
makedepends="$depends_dev cmake"
pkgusers="taskd"
pkggroups="taskd"
install="$pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-pki"
subpackages="$pkgname-doc $pkgname-pki::noarch $pkgname-openrc"
source="https://taskwarrior.org/download/${pkgname}-${pkgver}.tar.gz
Path.cpp.patch
Directory.cpp.patch
taskd.initd"
builddir=$srcdir/$pkgname-$pkgver
build() {
cd "$builddir"
cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
pki() {
pkgdesc="Tools for taskd PKI management"
depends="taskd gnutls-utils"
mkdir -p "$subpkgdir"/usr/share/taskd
mv "${builddir}/pki" "$subpkgdir"/usr/share/taskd || return 1
mv "${builddir}/pki" "$subpkgdir"/usr/share/taskd
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
install -dm700 -o taskd -g taskd "$pkgdir"/var/lib/$pkgname
install -Dm755 "$srcdir"/taskd.initd "$pkgdir"/etc/init.d/$pkgname
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment