summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af12413dab11a1e5e50dd29b310649cb864a9bd7 (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
28
29
30
# Maintainer: Mahid Sheikh <mahidsheikh@pm.me>
# Contributor: Eric Lu 
pkgname=clyde-aur-git
_pkgname=clyde
pkgver=30.42d76d8
pkgrel=1
pkgdesc="Simple AUR helper written in Bash"
arch=(any)
url="https://github.com/StandingPadAnimations/clyde"
depends=(jq)
makedepends=(git)
source=("git+https://github.com/StandingPadAnimations/clyde")
sha256sums=('SKIP')

pkgver() {
	cd "$_pkgname"
	echo "$(git rev-list --count HEAD).$(git describe --always)"
}

package () {
	# Uncomment if you use Doas
	# sed -i 's/sudo/doas/' "$_pkgname/clyde"

	# Standard install
	install -D -t "$pkgdir/usr/bin" "$_pkgname/clyde"
	install -D -t "$pkgdir/usr/share/bash-completion/completions" "$_pkgname/completions/clyde"

	# Uncomment if you use Zsh
	# install -D -t "$pkgdir/usr/local/share/zsh/site-functions" "$_pkgname/completions/_clyde"  
}