[arch-commits] Commit in hddtemp/repos (6 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Wed May 15 16:07:47 UTC 2013
Date: Wednesday, May 15, 2013 @ 18:07:47
Author: bisson
Revision: 185597
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
hddtemp/repos/testing-i686/
hddtemp/repos/testing-i686/PKGBUILD
(from rev 185596, hddtemp/trunk/PKGBUILD)
hddtemp/repos/testing-i686/service
(from rev 185596, hddtemp/trunk/service)
hddtemp/repos/testing-x86_64/
hddtemp/repos/testing-x86_64/PKGBUILD
(from rev 185596, hddtemp/trunk/PKGBUILD)
hddtemp/repos/testing-x86_64/service
(from rev 185596, hddtemp/trunk/service)
-------------------------+
testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/service | 8 +++++++
testing-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/service | 8 +++++++
4 files changed, 110 insertions(+)
Copied: hddtemp/repos/testing-i686/PKGBUILD (from rev 185596, hddtemp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-05-15 16:07:47 UTC (rev 185597)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgname=hddtemp
+_origver=0.3-beta15
+_patchver=${_origver}-52
+pkgver=${_patchver//-/.}
+pkgrel=2
+pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
+url='https://savannah.nongnu.org/projects/hddtemp/'
+license=('GPL')
+arch=('i686' 'x86_64')
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${_origver}.tar.bz2"
+ "http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${_patchver}.diff.gz"
+ 'service')
+sha1sums=('65393b0a4d9862c030c81702d95c1acd00da275b'
+ 'b9bcdd0537c1540e55e5056445b571ea61d5a4a3'
+ '9b02e5bed22f81ceab2b69bae788a9a3aa5c2147')
+
+options=('!libtool')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_origver}"
+
+ patch -p1 -i "../${pkgname}_${_patchver}.diff"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --mandir=/usr/share/man \
+ --with-db-path="/usr/share/${pkgname}/hddtemp.db"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_origver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "../${pkgname}-${_origver}/debian/hddtemp.db" "${pkgdir}/usr/share/${pkgname}/hddtemp.db"
+ install -Dm644 '../service' "${pkgdir}/usr/lib/systemd/system/hddtemp.service"
+}
Copied: hddtemp/repos/testing-i686/service (from rev 185596, hddtemp/trunk/service)
===================================================================
--- testing-i686/service (rev 0)
+++ testing-i686/service 2013-05-15 16:07:47 UTC (rev 185597)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Hard drive temperature monitor daemon
+
+[Service]
+ExecStart=/usr/bin/hddtemp -dF /dev/sda
+
+[Install]
+WantedBy=multi-user.target
Copied: hddtemp/repos/testing-x86_64/PKGBUILD (from rev 185596, hddtemp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-05-15 16:07:47 UTC (rev 185597)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgname=hddtemp
+_origver=0.3-beta15
+_patchver=${_origver}-52
+pkgver=${_patchver//-/.}
+pkgrel=2
+pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
+url='https://savannah.nongnu.org/projects/hddtemp/'
+license=('GPL')
+arch=('i686' 'x86_64')
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${_origver}.tar.bz2"
+ "http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${_patchver}.diff.gz"
+ 'service')
+sha1sums=('65393b0a4d9862c030c81702d95c1acd00da275b'
+ 'b9bcdd0537c1540e55e5056445b571ea61d5a4a3'
+ '9b02e5bed22f81ceab2b69bae788a9a3aa5c2147')
+
+options=('!libtool')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_origver}"
+
+ patch -p1 -i "../${pkgname}_${_patchver}.diff"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --mandir=/usr/share/man \
+ --with-db-path="/usr/share/${pkgname}/hddtemp.db"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_origver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "../${pkgname}-${_origver}/debian/hddtemp.db" "${pkgdir}/usr/share/${pkgname}/hddtemp.db"
+ install -Dm644 '../service' "${pkgdir}/usr/lib/systemd/system/hddtemp.service"
+}
Copied: hddtemp/repos/testing-x86_64/service (from rev 185596, hddtemp/trunk/service)
===================================================================
--- testing-x86_64/service (rev 0)
+++ testing-x86_64/service 2013-05-15 16:07:47 UTC (rev 185597)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Hard drive temperature monitor daemon
+
+[Service]
+ExecStart=/usr/bin/hddtemp -dF /dev/sda
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list