summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Weißschuh2015-02-15 23:14:23 +0000
committerThomas Weißschuh2015-02-15 23:14:23 +0000
commit54c514442964dc7a54f4a107f66a952c330377c7 (patch)
treee1fa0665cf7bfe3d76a2fdd339ba726e366bd1fc
parentd2e9aa1a793988bc9fd42815875127567c52d69b (diff)
downloadaur-54c514442964dc7a54f4a107f66a952c330377c7.tar.gz
bump
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38078802b32d..23e1b6b0b0cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = hdapsd-git
pkgdesc = HDAPS userspace hard drive protection daemon
- pkgver = 20130625
+ pkgver = 20150215
pkgrel = 1
url = https://github.com/evgeni/hdapsd/
arch = i686
arch = x86_64
license = GPL
- depends = glibc
+ optdepends = libconfig: (buildtime) for configuration file support
provides = hdapsd
conflicts = hdapsd
+ backup = etc/hdapsd.conf
source = git+https://github.com/evgeni/hdapsd/
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index abb0014ef718..600b86ad5a9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,18 @@
# Maintainer: Thomas Weißschuh <thomas t-8ch de>
pkgname=hdapsd-git
-pkgver=20130625
+pkgver=20150215
pkgrel=1
pkgdesc='HDAPS userspace hard drive protection daemon'
arch=('i686' 'x86_64')
url='https://github.com/evgeni/hdapsd/'
license=('GPL')
-depends=('glibc')
provides=('hdapsd')
conflicts=('hdapsd')
source=('git+https://github.com/evgeni/hdapsd/')
sha256sums=('SKIP')
+backup=('etc/hdapsd.conf')
+optdepends=('libconfig: (buildtime) for configuration file support')
build() {
cd "$srcdir/hdapsd/"
@@ -25,7 +26,9 @@ package() {
make DESTDIR="${pkgdir}/" install
- mv "$pkgdir"/usr/lib/udev/rules.d/{,80-}hdapsd.rules
+ mv "${pkgdir}"/usr/lib/udev/rules.d/{,80-}hdapsd.rules
+ install -d -m755 "${pkgdir}/etc"
+ install -m644 misc/hdapsd.conf "${pkgdir}/etc/"
}
pkgver() {