[arch-commits] Commit in idle3-tools/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Jul 22 23:15:33 UTC 2014


    Date: Wednesday, July 23, 2014 @ 01:15:33
  Author: anatolik
Revision: 116127

upgpkg: idle3-tools 0.9.1-4

Modified:
  idle3-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-22 23:14:57 UTC (rev 116126)
+++ PKGBUILD	2014-07-22 23:15:33 UTC (rev 116127)
@@ -4,20 +4,15 @@
 
 pkgname=idle3-tools
 pkgver=0.9.1
-pkgrel=3
-pkgdesc='A linux/unix utility that can disable, get and set the value of the idle3 timer found on recent Western Digital Hard Disk Drives.'
+pkgrel=4
+pkgdesc='A utility that can disable, get and set the value of the idle3 timer found on Western Digital Hard Drives.'
 arch=(i686 x86_64)
 url='http://idle3-tools.sourceforge.net/'
 license=(GPL)
 depends=(glibc)
 source=(http://download.sourceforge.net/idle3-tools/idle3-tools-$pkgver.tgz)
-md5sums=('797d8775b80b7b7b67a1f8b0a5b41f30')
+sha1sums=('44b5c4988e42d59e56fbc72550db34c5012beda6')
 
-prepare() {
-  cd idle3-tools-$pkgver
-  sed -i 's/\bsbin\b/bin/g' Makefile
-}
-
 build() {
   cd idle3-tools-$pkgver
   make
@@ -25,5 +20,6 @@
 
 package() {
   cd idle3-tools-$pkgver
-  make binprefix=/usr DESTDIR=$pkgdir install
+  make sbindir=/usr/bin DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }




More information about the arch-commits mailing list