[arch-commits] Commit in taskd/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:11:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:11:40
  Author: felixonmars
Revision: 659602

archrelease: copy trunk to community-staging-x86_64

Added:
  taskd/repos/community-staging-x86_64/
  taskd/repos/community-staging-x86_64/PKGBUILD
    (from rev 659601, taskd/trunk/PKGBUILD)
  taskd/repos/community-staging-x86_64/taskd.install
    (from rev 659601, taskd/trunk/taskd.install)
  taskd/repos/community-staging-x86_64/taskd.sysusers.conf
    (from rev 659601, taskd/trunk/taskd.sysusers.conf)

---------------------+
 PKGBUILD            |   40 ++++++++++++++++++++++++++++++++++++++++
 taskd.install       |   12 ++++++++++++
 taskd.sysusers.conf |    1 +
 3 files changed, 53 insertions(+)

Copied: taskd/repos/community-staging-x86_64/PKGBUILD (from rev 659601, taskd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:11:40 UTC (rev 659602)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Keerthan Jaic <jckeerthan at gmail dot com>
+# Contributor: Rich Li <rich at dranek com>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+# Contributor: Markus Holtermann <aur at markusholtermann.eu>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=taskd
+pkgver=1.1.0
+pkgrel=5
+pkgdesc="A lightweight, secure server providing multi-user, multi-client access to task data"
+url="http://tasktools.org/projects/${pkgname}.html"
+license=('MIT')
+arch=('x86_64')
+depends=('gnutls' 'libutil-linux')
+makedepends=('cmake')
+install="${pkgname}.install"
+source=("https://taskwarrior.org/download/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}.sysusers.conf")
+
+sha512sums=('df2349c354258fd1b014b1a9c78f68dc10c9e5a48357e282e8a760cf4e4aaf4d36486796ad094ee2b050e7506195b778e3316c90ef543a2f8242de313daa13aa'
+            '882ffe7de4bf569a16595d69cfd827fffd23beae7af19c90748bc2ee23e74f8313bcd2733131155d8fea4a37a207b052255fa5aeb6b61b47e4207332f7083e04')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    cmake . \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release
+    make
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+    cp -a {pki,scripts} "${pkgdir}/usr/share/doc/taskd/"
+
+    install -Dm644 "${srcdir}/${pkgname}.sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+    install -Dm644 "scripts/systemd/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: taskd/repos/community-staging-x86_64/taskd.install (from rev 659601, taskd/trunk/taskd.install)
===================================================================
--- community-staging-x86_64/taskd.install	                        (rev 0)
+++ community-staging-x86_64/taskd.install	2020-07-07 17:11:40 UTC (rev 659602)
@@ -0,0 +1,12 @@
+datadir=/var/lib/taskd
+
+post_install() {
+    systemd-sysusers taskd.conf
+    if [[ ! -e $datadir ]]; then
+      echo "Initializing taskd data."
+      install -dm770 $datadir
+      taskd init --data $datadir
+      chown -R taskd:taskd $datadir
+    fi
+
+}

Copied: taskd/repos/community-staging-x86_64/taskd.sysusers.conf (from rev 659601, taskd/trunk/taskd.sysusers.conf)
===================================================================
--- community-staging-x86_64/taskd.sysusers.conf	                        (rev 0)
+++ community-staging-x86_64/taskd.sysusers.conf	2020-07-07 17:11:40 UTC (rev 659602)
@@ -0,0 +1 @@
+u taskd - "Taskwarrior Sync Server"



More information about the arch-commits mailing list