yochananmarqos

hdsentinel_gui

Apr 17th, 2021 (edited)
922
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=hdsentinel_gui
  2. _pkgname=HDSentinel_GUI
  3. pkgver=2.0.0
  4. pkgrel=1
  5. pkgdesc="Hard disk monitoring software"
  6. arch=('i686' 'x86_64')
  7. url="http://www.hdsentinel.com/hard_disk_sentinel_linux_gui.php"
  8. license=('unknown')
  9. depends=('gtk2')
  10. source_i686=("$pkgname-$pkgver-32bit.tar.gz::https://www.hdsentinel.com/hdslin/${pkgname}32bit.tar.gz")
  11. source_x86_64=("$pkgname-$pkgver-64bit.tar.gz::https://www.hdsentinel.com/hdslin/${pkgname}64bit.tar.gz")
  12. sha256sums_i686=('b1dce7aed4acd69c18c7203b6a97d64f6e5b4e7df1c5d978913afa905673c1a6')
  13. sha256sums_x86_64=('849f58e660d919d07a24332c4fa4f77368fbc50164ff5915131bf50ebe90cff1')
  14.  
  15. prepare() {
  16.   mkdir -p "$pkgname-$pkgver"
  17.   bsdtar xvf "$_pkgname/$_pkgname.zip" -C "$pkgname-$pkgver"
  18.  
  19.   cd "$pkgname-$pkgver/$_pkgname"
  20.   sed -i 's|usr/share/bin|usr/bin|g' Hard_Disk_Sentinel_GUI.desktop
  21. }
  22.  
  23. package() {
  24.   pushd "$pkgname-$pkgver/$_pkgname"
  25.   install -Dm755 HDSentinel "$_pkgname" -t "$pkgdir/usr/bin/"
  26.   install -Dm644 "$_pkgname.ico" -t "$pkgdir/usr/share/icons/"
  27.   install -Dm644 Hard_Disk_Sentinel_GUI.desktop -t "$pkgdir/usr/share/applications/"
  28.   popd
  29.  
  30.   pushd "$_pkgname"
  31.   install -Dm644 readme version -t "$pkgdir/usr/share/doc/$pkgname/"
  32.   popd
  33. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×