[arch-commits] Commit in hdapsd/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Wed Dec 17 13:17:36 UTC 2014


    Date: Wednesday, December 17, 2014 @ 14:17:36
  Author: lfleischer
Revision: 124013

upgpkg: hdapsd 20141203-1

Upstream update.

Modified:
  hdapsd/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-17 09:06:41 UTC (rev 124012)
+++ PKGBUILD	2014-12-17 13:17:36 UTC (rev 124013)
@@ -3,29 +3,26 @@
 # Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
 
 pkgname=hdapsd
-pkgver=20141024
+pkgver=20141203
 pkgrel=1
 pkgdesc='HDAPS userspace hard drive protection daemon'
 arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/hdaps/'
+url='https://github.com/evgeni/hdapsd'
 license=('GPL')
 depends=('glibc' 'bash')
-source=("http://downloads.sourceforge.net/hdaps/hdapsd-${pkgver}.tar.gz"
-        'hdapsd.systemd')
-md5sums=('4c08983ddfbe5d4dea56f4d40dd45e9f'
-         'f514cca78059477c4f33faf97d4aaa06')
+source=("https://github.com/evgeni/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('1620775e4a0988313dd75b0f1f636674')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
   make ${MAKEFLAGS}
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-
   make DESTDIR="${pkgdir}/" install
-
-  install -Dm0644 "${srcdir}/hdapsd.systemd" "${pkgdir}/usr/lib/systemd/system/hdapsd.service"
 }



More information about the arch-commits mailing list