blob: edacc43b07988980fb44bd8acbd61e07d166e785 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch>
_pkgname=lchat
pkgname=${_pkgname}-git
pkgver=r114.9778b6
pkgrel=1
pkgdesc="line chat is a line oriented front end for ii-like chat programs."
url="https://libs.suckless.org/lchat/"
license=("ISC")
arch=("any")
makedepends=("git")
depends=('libgrapheme')
provides=("lchat")
conflicts=("lchat")
source=("git://git.suckless.org/lchat")
sha256sums=("SKIP")
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${_pkgname}"
make PREFIX=/usr all
}
check() {
cd "${_pkgname}"
make PREFIX=/usr test
}
package() {
cd "${_pkgname}"
install -Dm755 "${_pkgname}" "${pkgdir}"/usr/bin/"${_pkgname}"
install -Dm644 README.md "${pkgdir}"/usr/share/doc/"${_pkgname}"/README.md
}
|