summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1c693b6dfe379582b465a57676142b7909938f6 (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
# Maintainer: Josh Wright <wright.jjw@gmail.com>
pkgname=st-wrightjjw-git
pkgver=0.8.4
pkgrel=1
pkgdesc="Josh's build of suckless st"
arch=('x86_64')
url="https://github.com/wrightjjw/st"
license=('MIT')
depends=(libxft ttf-cascadia-code)
provides=(st)
conflicts=(st)
source=("git+$url")
md5sums=("SKIP")

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

build() {
	cd st
	make
}

package() {
	cd st
	make PREFIX="$pkgdir/usr" install
}