New package: hddtemp-0.3.beta15

This commit is contained in:
Georg Schabel 2015-07-11 03:15:57 +02:00 committed by Alessio Sergi
parent d2454675bc
commit 57c37a9b02

26
srcpkgs/hddtemp/template Normal file
View file

@ -0,0 +1,26 @@
# 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}
}