summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bed63b6ff04d76bb921d331b5780dba0e0ad6c4a (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
# Maintainer:  Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: Berhard Landauer <oberon@manjaro.org>

pkgname=samsung-ssd-dc-toolkit
pkgver=2.1
pkgrel=4
pkgdesc="CLI diagnostics SW for Samsung SSD PM863, PM863a, SM863, SM863a, PM963 non-customized, 860 DCT, 883 DCT, 983 DCT, 983 DCT M.2 and 983 ZET"
url='https://semiconductor.samsung.com/consumer-storage/support/tools/'
arch=('x86_64')
license=('LicenseRef-Samsung-Magician-Software-License-Agreement')
depends=(
        'gcc-libs'
        'glibc'
        'hdparm'
)
conflicts=('samsung_magician-consumer-ssd')
source=("https://download.semiconductor.samsung.com/resources/software-resources/Samsung_SSD_DC_Toolkit_for_Linux_V$pkgver"
        'LICENSE')
b2sums=('b5c2b26099449cf2e259b798e6ab2e978c5806753ae4d2c352db2cb74e540c02f6ae4b18de6d159531292a5f22afa8d05cef2a36b17b2786401bc072fb8e8255'
        '8e12c9640eadde76cb508dfde2059d5c1fdd55192bbda15ba7026d068644aa3e302770a018ce8704a146d65f84338c14756522430cbb21070ea767978c80bd38')
options=('!strip')

package() {
  install -Dm755 "Samsung_SSD_DC_Toolkit_for_Linux_V$pkgver" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
  cd "$pkgdir/usr/bin"
  ln -s "$pkgname" magician
}