# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
 
pkgname=kde-servicemenus-hexstrings
pkgver=1
pkgrel=1
pkgdesc="Extract all readable strings from a file using Dolphin or Konqueror (KDE5 Dolphin action)"
arch=('any')
license=('GPL')
source=(
  'hexstrings.desktop'
  'hexstrings.sh'
)
depends=('binutils' 'dolphin')

md5sums=('d239cc16272b4ba3243172bd72dff939'
         '7c06343e1802be5adf445e719a2c1fd0')

package() {
  mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
  cp ${srcdir}/{hexstrings.desktop,hexstrings.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
  chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{hexstrings.desktop,hexstrings.sh}
}