Date: Saturday, September 17, 2011 @ 23:14:00 Author: eric Revision: 138167
upgpkg: i8kutils 1.33-2 Cleanup old package Modified: i8kutils/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-09-17 22:43:36 UTC (rev 138166) +++ PKGBUILD 2011-09-18 03:14:00 UTC (rev 138167) @@ -4,25 +4,25 @@ pkgname=i8kutils pkgver=1.33 -pkgrel=1 +pkgrel=2 pkgdesc="Dell Inspiron/Latitude kernel driver and utilities" +arch=('i686' 'x86_64') url="http://people.debian.org/~dz/i8k/" license=('GPL2') -arch=('i686' 'x86_64') depends=('glibc') source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz) md5sums=('1ab077b301dbb0f4be8ef52eb3b97628') build() { - cd $srcdir/$pkgname-$pkgver - make || return 1 + cd "$srcdir/$pkgname-$pkgver" + make +} - # no configure script, and Makefile has /usr hardcoded - install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl || return 1 - install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1 - install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1 - install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1 || return 1 - install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1 || return 1 - ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan || return 1 +package() { + cd "$srcdir/$pkgname-$pkgver" + install -D -m755 i8kctl "$pkgdir/usr/bin/i8kctl" + install -D -m755 i8kbuttons "$pkgdir/usr/bin/i8kbuttons" + install -D -m644 i8kbuttons.1 "$pkgdir/usr/share/man/man1/i8kbuttons.1" + install -D -m644 i8kctl.1 "$pkgdir/usr/share/man/man1/i8kctl.1" + ln -fs ./i8kctl "$pkgdir/usr/bin/i8kfan" } -# vim: ts=2 sw=2 et ft=sh