summaryrefslogtreecommitdiff
path: root/community/hdapsd/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /community/hdapsd/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/hdapsd/PKGBUILD')
-rw-r--r--community/hdapsd/PKGBUILD21
1 files changed, 5 insertions, 16 deletions
diff --git a/community/hdapsd/PKGBUILD b/community/hdapsd/PKGBUILD
index 7d8b4922f..5fcb53a3d 100644
--- a/community/hdapsd/PKGBUILD
+++ b/community/hdapsd/PKGBUILD
@@ -4,28 +4,21 @@
pkgname=hdapsd
pkgver=20090401
-pkgrel=5
+pkgrel=7
pkgdesc='HDAPS userspace hard drive protection daemon'
arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/hdaps/'
license=('GPL')
-depends=('glibc')
-backup=('etc/conf.d/hdapsd')
+depends=('glibc' 'bash')
source=("http://downloads.sourceforge.net/hdaps/hdapsd-${pkgver}.tar.gz"
- 'hdapsd.conf.d'
- 'hdapsd.rc.d'
- 'hdapsd.systemd'
- 'hdapsd.wrapper')
+ 'hdapsd.systemd')
md5sums=('897cee8b0192febd127470f3e9506aeb'
- '07fc036c8717bf5a38bbc269ed38ad19'
- '9ab70348da9751810a2bbac51e18ac75'
- '4b1378d43dc9431982f6605265c24f3b'
- '11270661f3a543268786a68bbe74a6bb')
+ '61ac40d4d77e57863da68d9fd94c58e7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make ${MAKEFLAGS}
}
@@ -34,9 +27,5 @@ package() {
make DESTDIR="${pkgdir}/" install
- # install rc script and its configuration file
- install -Dm0644 "${srcdir}/hdapsd.conf.d" "${pkgdir}/etc/conf.d/hdapsd"
- install -Dm0755 "${srcdir}/hdapsd.rc.d" "${pkgdir}/etc/rc.d/hdapsd"
install -Dm0644 "${srcdir}/hdapsd.systemd" "${pkgdir}/usr/lib/systemd/system/hdapsd.service"
- install -Dm0755 "${srcdir}/hdapsd.wrapper" "${pkgdir}/usr/sbin/hdapsd-wrapper"
}