summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c03636c53bfca263cc3eca6b78def7aee6496dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Zoltán Guba <zoltan.guba@gubamm.hu>
# Contributor: Gregory25 <hegedusgergomka@gmail.com>
# Contributor: János Illés <ijanos@gmail.com>

pkgname=hdsentinel_gui
pkgver=2.0.0
pkgrel=4
pkgdesc="A freeware, closed source, SMART analysis tool with GUI"
arch=('i686' 'x86_64')
url="http://www.hdsentinel.com/hard_disk_sentinel_linux_gui.php"
license=('unknown')
depends=(gtk2 hdsentinel)
source_i686=(hdsentinel_gui32bit.tar.gz::https://www.hdsentinel.com/hdslin/hdsentinel_gui32bit.tar.gz)
md5sums_i686=('9be70938647a465296be0b8b9c2d2349')
source_x86_64=(hdsentinel_gui64bit.tar.gz::https://www.hdsentinel.com/hdslin/hdsentinel_gui64bit.tar.gz)
md5sums_x86_64=('898d05f8bb9a010d64dcb5b1f907b7ff')

package() {
  cd $srcdir/HDSentinel_GUI
  bsdtar -xf "HDSentinel_GUI.zip"
  sed -i 's/\/usr\/share\/bin/\/usr\/bin/' HDSentinel_GUI/Hard_Disk_Sentinel_GUI.desktop
  install -m755 -D "HDSentinel_GUI/HDSentinel_GUI" $pkgdir/usr/bin/HDSentinel_GUI || return 1
#  install -m755 -D "HDSentinel_GUI/HDSentinel" $pkgdir/usr/bin/HDSentinel || return 1
  install -m644 -D "HDSentinel_GUI/HDSentinel_GUI.ico" $pkgdir/usr/share/icons/HDSentinel_GUI.ico || return 1
  install -m644 -D "HDSentinel_GUI/Hard_Disk_Sentinel_GUI.desktop" $pkgdir/usr/share/applications/Hard_Disk_Sentinel_GUI.desktop || return 1
  install -m644 -D "readme" $pkgdir/usr/share/doc/$pkgname/readme || return 1
  install -m644 -D "version" $pkgdir/usr/share/doc/$pkgname/version || return 1
  cd $pkgdir/usr/bin
  ln -s /usr/bin/hdsentinel HDSentinel
}