[arch-commits] Commit in i8kmon/trunk (PKGBUILD i8kmon.service)

Eric Bélanger eric at archlinux.org
Sat Jun 16 06:26:34 UTC 2012


    Date: Saturday, June 16, 2012 @ 02:26:34
  Author: eric
Revision: 161896

upgpkg: i8kmon 1.33-4

Add systemd service file

Added:
  i8kmon/trunk/i8kmon.service
Modified:
  i8kmon/trunk/PKGBUILD

----------------+
 PKGBUILD       |   15 +++++++++------
 i8kmon.service |    9 +++++++++
 2 files changed, 18 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-16 06:03:28 UTC (rev 161895)
+++ PKGBUILD	2012-06-16 06:26:34 UTC (rev 161896)
@@ -4,18 +4,19 @@
 
 pkgname=i8kmon
 pkgver=1.33
-pkgrel=3
+pkgrel=4
 pkgdesc="Tk-based daemon for i8kutils and Dell Inspiron/Latitude notebooks"
 arch=('any')
 url="http://people.debian.org/~dz/i8k/"
 license=('GPL2')
 depends=('i8kutils' 'tk')
 backup=('etc/i8kutils/i8kmon.conf' 'etc/conf.d/i8kmon')
-source=(ftp://ftp.archlinux.org/other/i8kutils/i8kutils_$pkgver.tar.gz i8kmon.daemon i8kmon.conf.d)
-md5sums=('1ab077b301dbb0f4be8ef52eb3b97628' '411de45dda5e1ce7ad0db47aa236a79a'\
-         'c35f173664d9180f40e062c905da10e1')
-sha1sums=('2701697dfe9c0e351cb412badd14fbf8191838c3' 'a7ead36e31d27d85a257242847e316ea85a2426f'\
-         'a3a38c19f1af4bfc59ac8c88cadfa2e6ee185a4c')
+source=(ftp://ftp.archlinux.org/other/i8kutils/i8kutils_$pkgver.tar.gz \
+        i8kmon.daemon i8kmon.conf.d i8kmon.service)
+sha1sums=('2701697dfe9c0e351cb412badd14fbf8191838c3'
+          'a7ead36e31d27d85a257242847e316ea85a2426f'
+          'a3a38c19f1af4bfc59ac8c88cadfa2e6ee185a4c'
+          '9bac507e1ea80a240b01f07dded8a9a9fa406789')
 
 build() {
   cd "$srcdir/i8kutils-$pkgver"
@@ -36,4 +37,6 @@
   # install daemon script.
   install -D -m755 ../i8kmon.daemon "$pkgdir/etc/rc.d/i8kmon"
   install -D -m644 ../i8kmon.conf.d "$pkgdir/etc/conf.d/i8kmon"
+
+  install -D -m644 ../i8kmon.service "$pkgdir/usr/lib/systemd/system/i8kmon.service"
 }

Added: i8kmon.service
===================================================================
--- i8kmon.service	                        (rev 0)
+++ i8kmon.service	2012-06-16 06:26:34 UTC (rev 161896)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Dell laptop thermal monitoring
+ConditionPathExists=/proc/i8k
+
+[Service]
+ExecStart=/usr/bin/i8kmon -nd
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list