blob: 5f18c04d8582a32defbac544cd682ac05a87b56c (
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
|
# Maintainer: mirsella <mirsella@protonmail.com>
pkgname=wtp-bin
pkgver=2.10.3
pkgrel=1
pkgdesc="A powerful Git worktree CLI tool with automated setup, branch tracking, and smart navigation "
arch=('x86_64')
url="https://github.com/satococoa/wtp"
license=('MIT')
depends=('tar')
source=("https://github.com/satococoa/wtp/releases/download/v${pkgver}/wtp_${pkgver}_Linux_${arch}.tar.gz")
sha256sums=('8383e3129d1cf33b74687c0f671f863e08ea69a34c6313456dcee52bbf2ab40a')
package() {
cd "${srcdir}"
path="wtp_${pkgver}_Linux_${arch}"
mkdir "$path"
tar -xzf "$path.tar.gz" -C "$path"
install -Dm755 "$path/wtp" "${pkgdir}/usr/bin/wtp"
if [[ -f "$path/LICENSE" ]]; then
install -Dm644 "$path/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
fi
}
|