summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28ce72f24d016eb9d71660b8f6cbd261f0e8f79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Vedant K (gamemaker1) <gamemaker0042 at gmail dot com>

pkgname=bak-bin
pkgver=0.2.0
pkgrel=1
epoch=
pkgdesc="A backup tool written in bash (binary version)"
arch=("any")
url="https://github.com/gamemaker1/bak"
license=("AGPL3")
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}" "${pkgname%-bin}-git")
depends=("bash" "coreutils" "tar" "zip" "unzip")
source=("${pkgname%-bin}-$pkgver.tar.zst::https://github.com/gamemaker1/${pkgname%-bin}/releases/download/$pkgver/${pkgname%-bin}-$pkgver-$pkgrel-any.pkg.tar.zst")
sha256sums=('62536ae9c9cb3b79d4b1778f03428195972c97b69e3e33dc99867221f038c3bd')

package() {
	install -Dm775 "usr/bin/bak" "$pkgdir/usr/bin/bak"
	install -Dm644 "usr/share/man/man1/bak.1" "$pkgdir/usr/share/man/man1/bak.1"
	install -Dm644 "usr/share/licenses/bak/LICENSE" "$pkgdir/usr/share/licenses/bak/LICENSE"
}