#Maintainer: Paul Marwick (toothandnail) #Former Maintainer(s): Name #Anything commented out is optional and can be deleted. pkgname=gsmartcontrol pkgver=0.8.4 pkgrel=1 zenver=62 arch=i686 source=(http://download.berlios.de/gsmartcontrol/$pkgname-$pkgver.tar.bz2) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/toothandnail//$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors.txt" "news" "todo") url="http://gsmartcontrol.berlios.de/home/index.php/en/Home" extradepends=(smartmontools) #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gsmartcontrol (a graphical user interface to smartctl)" "GSmartcontrol is a graphical user interface for smartctl (from the" "smartmontools package), a tool for querying and controlling SMART" "data on modern hard disk drives. It allows inspection of a HDD's" "data to determin its health as well as run various tests on it." "" "Note: Only ATA drives are currently supported" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp $startdir/pkg/usr/share/doc/$pkgname/* $startdir/pkg/usr/doc/$pkgname-$pkgver rm -fr $startdir/pkg/usr/share/doc cat << "EOF" >$startdir/pkg/usr/share/applications/gsmartcontrol.desktop [Desktop Entry] Type=Application Encoding=UTF-8 Name=GSmartControl Exec=gksu /usr/bin/gsmartcontrol Comment=Monitor and control SMART data on hard disks Icon=gsmartcontrol Terminal=false Categories=Application;System;Settings; EOF rm -f $startdir/pkg/usr/share/applications/gsmartcontrol_gnome.desktop rm -f $startdir/pkg/usr/share/applications/gsmartcontrol_kde.desktop rm -f $startdir/pkg/usr/share/applications/gsmartcontrol_other.desktop }