void-packages/srcpkgs/hddtemp/template
2017-08-05 18:31:15 +00:00

26 lines
910 B
Bash

# Template file for 'hddtemp'
pkgname=hddtemp
version=0.3.beta15
revision=2
wrksrc="${pkgname}-${version/.beta/-beta}"
build_style=gnu-configure
configure_args="--with-db-path=/usr/share/hddtemp/hddtemp.db"
short_desc="Hard drive temperature monitoring utility"
maintainer="Georg S. <gescha@posteo.de>"
license="GPL-2"
homepage="https://savannah.nongnu.org/projects/hddtemp/"
distfiles="
${NONGNU_SITE}/${pkgname}/${pkgname}-${version/.beta/-beta}.tar.bz2
${DEBIAN_SITE}/main/h/hddtemp/${pkgname}_${version/.beta/-beta}-52.diff.gz"
checksum="
618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b
2466eabe4011042d4011831d40e4e207c810454a0320d77ba99e0b87cdfd8bb6"
pre_configure() {
patch -p1 -i ../hddtemp_${version/.beta/-beta}-52.diff
sed -i 's|/etc/hddtemp.db|/usr/share/hddtemp/hddtemp.db|' doc/hddtemp.8
}
post_install() {
vinstall debian/hddtemp.db 644 usr/share/hddtemp
vsv hddtemp
}