27 lines
878 B
Bash
27 lines
878 B
Bash
|
# Template file for 'hddtemp'
|
||
|
pkgname=hddtemp
|
||
|
version=0.3.beta15
|
||
|
revision=1
|
||
|
_patch=52
|
||
|
homepage="https://savannah.nongnu.org/projects/hddtemp/"
|
||
|
short_desc="Temperature of your hard drive by reading S.M.A.R.T. information"
|
||
|
maintainer="Georg S. <gescha@posteo.de>"
|
||
|
license="GPL-2"
|
||
|
|
||
|
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/.beta/-beta}.tar.bz2
|
||
|
${DEBIAN_SITE}/main/h/hddtemp/${pkgname}_${version/.beta/-beta}-${_patch}.diff.gz"
|
||
|
checksum="618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b
|
||
|
2466eabe4011042d4011831d40e4e207c810454a0320d77ba99e0b87cdfd8bb6"
|
||
|
|
||
|
build_style=gnu-configure
|
||
|
wrksrc="${pkgname}-${version/.beta/-beta}"
|
||
|
configure_args="--with-db-path=/usr/share/${pkgname}/hddtemp.db"
|
||
|
|
||
|
post_extract() {
|
||
|
patch -p1 -i "../${pkgname}_${version/.beta/-beta}-${_patch}.diff"
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vinstall debian/hddtemp.db 644 usr/share/${pkgname}
|
||
|
}
|