[arch-commits] Commit in hdapsd/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:06:56 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:06:55
  Author: felixonmars
Revision: 659121

archrelease: copy trunk to community-staging-x86_64

Added:
  hdapsd/repos/community-staging-x86_64/
  hdapsd/repos/community-staging-x86_64/PKGBUILD
    (from rev 659119, hdapsd/trunk/PKGBUILD)
  hdapsd/repos/community-staging-x86_64/hdapsd.systemd
    (from rev 659119, hdapsd/trunk/hdapsd.systemd)

----------------+
 PKGBUILD       |   28 ++++++++++++++++++++++++++++
 hdapsd.systemd |   12 ++++++++++++
 2 files changed, 40 insertions(+)

Copied: hdapsd/repos/community-staging-x86_64/PKGBUILD (from rev 659119, hdapsd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:06:55 UTC (rev 659121)
@@ -0,0 +1,28 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Emil Renner Berthing <esmil at mailme.dk>
+# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+
+pkgname=hdapsd
+pkgver=20141203
+pkgrel=4
+pkgdesc='HDAPS userspace hard drive protection daemon'
+arch=('x86_64')
+url='https://github.com/evgeni/hdapsd'
+license=('GPL')
+depends=('glibc' 'bash')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('1620775e4a0988313dd75b0f1f636674')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
+    --with-udevdir=/usr/lib/udev --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make ${MAKEFLAGS}
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}

Copied: hdapsd/repos/community-staging-x86_64/hdapsd.systemd (from rev 659119, hdapsd/trunk/hdapsd.systemd)
===================================================================
--- community-staging-x86_64/hdapsd.systemd	                        (rev 0)
+++ community-staging-x86_64/hdapsd.systemd	2020-07-07 16:06:55 UTC (rev 659121)
@@ -0,0 +1,12 @@
+[Unit]
+Description=HDAPS userspace hard drive protection daemon
+After=syslog.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/hdapsd.pid
+ExecStart=/usr/bin/hdapsd -bp
+ExecReload=/bin/kill -HUP ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list