summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0c72e8a621bad648da9abe471e47f6f3b878a0d (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
# Maintainer: vitaliikuzhdin <vitaliikuzhdin@gmail.com>

_pkgname="ictree"
pkgname="${_pkgname}-bin"
pkgver=1.0.1
pkgrel=1
pkgdesc="Like tree but interactive"
arch=('x86_64')
url="https://github.com/NikitaIvanovV/${_pkgname}"
license=('GPL-3.0-or-later')
optdepends=('xsel: for copying selected item into X clipboard'
            'wl-clipboard: for copying selected item into Wayland clipboard')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${url}/raw/v${pkgver}/README.md"
        "${url}/raw/v${pkgver}/LICENSE")
source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-x86_64-v${pkgver}.tar.gz")
sha256sums=('9a9dc121d2cd013b819046888902405ff0a90ec736cca99e3e87feea99d1a7f5'
            '3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986')
sha256sums_x86_64=('3496adfd4cca03c9ef52e234249146a3401d0777a9ac3dc6906d03222c711939')

package() {
  cd "${srcdir}"
  install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
  install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}