summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2b4b697e3fab444defbfc2e7fff87b9b9fa19e4 (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: Rein Fernhout (LevitatingBusinessMan) <public@reinfernhout.xyz>

pkgname=alcase
pkgver=r7.298cf11
arch=("x86_64")
pkgrel=1
pkgdesc="Turn text into alternating case"
license=("MIT")
makedepends=("git")
url="https://github.com/LevitatingBusinessMan/alcase"
source=("git+https://github.com/LevitatingBusinessMan/alcase.git")
sha256sums=("SKIP")

pkgver() {
	cd "$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "${srcdir}/${pkgname}"
	make
}

package() {
	cd "${srcdir}/${pkgname}"
	DESTDIR="$pkgdir" PREFIX="/usr" make install
}