summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 572660f36332d96aac4d39ac1e140f6c1ea136dc (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
# Maintainer: Minecraftchest1 <minecraftchest1 at outlook dot com>

pkgname=file-sharing-tool
pkgver=0.4.2
pkgrel=2
pkgdesc="A tool to help setup file sharing using ssh."
arch=('any')
url="https://gitlab.com/minecraftchest1/steamdeck-file-share-tool"
license=('GPL3')
depends=('openssh' 'zenity')
makedepends=('git')
source=("git+${url}#tag=${pkgver}")
sha256sums=('SKIP')

package() {
    cd "${srcdir}/steamdeck-file-share-tool"
    install -Dm 755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
	#install -D "doc/*" "${pkgdir}/usr/share/doc/${pkgname}"
	install -Dm 555 "file-sharing-tool.desktop" "${pkgdir}/usr/share/applications/file-sharing-tool.desktop"

	cd doc
	for file in $(find ./ -type f)
	do
		install -Dm 444 "${file}" "${pkgdir}/usr/share/doc/${pkgname}/${file}"
	done
}