aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-14 19:31:35 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-22 10:47:54 +0000
commitce6d4af6a9e14f51d1b087c8ee479ef70ae6be87 (patch)
tree212f6440a15623824f24540e15358a3adb70443c
parent0302688d515723724b9afe0c33046e38b542c8c4 (diff)
downloadaports-ce6d4af6a9e14f51d1b087c8ee479ef70ae6be87.tar.bz2
aports-ce6d4af6a9e14f51d1b087c8ee479ef70ae6be87.tar.xz
main/taskd: fix url add missing bash dep
-rw-r--r--main/taskd/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/taskd/APKBUILD b/main/taskd/APKBUILD
index c62cef1a05..3f8dddb87b 100644
--- a/main/taskd/APKBUILD
+++ b/main/taskd/APKBUILD
@@ -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
}