summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5a53765ba9d0a042377cd98a4d16ecd3aa772e61 (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: Incomplete <incomplete@aixon.co>

pkgname=with-b3-git
pkgdesc="Appends BLAKE3 checksum to a file path"
# pkgver will be updated with pkgver()
pkgver=NA
pkgrel=1
license=('MIT')
url="https://github.com/qwfy/with-b3"
arch=('x86_64')

# An array of packages this package depends on to run
depends=('b3sum')

source=("${pkgname}::git+${url}.git")
md5sums=('SKIP')

pkgver() {
	cd "${pkgname}"
  git rev-parse master
}

package() {
	cd "${pkgname}"

  install -D -m755 with-b3 "${pkgdir}/usr/bin/with-b3"
}