From 57c37a9b0287ef715a312f73baf4d8c37d7513f3 Mon Sep 17 00:00:00 2001 From: Georg Schabel Date: Sat, 11 Jul 2015 03:15:57 +0200 Subject: [PATCH] New package: hddtemp-0.3.beta15 --- srcpkgs/hddtemp/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/hddtemp/template diff --git a/srcpkgs/hddtemp/template b/srcpkgs/hddtemp/template new file mode 100644 index 00000000000..d3e83f9a88d --- /dev/null +++ b/srcpkgs/hddtemp/template @@ -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. " +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} +}