blob: 34cee58a06e5f6d4a12badfb56223f164702f8a8 (
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: Wang Ruochen <arch@ruo-chen.wang>
pkgname=alwaysatty-git
pkgver=r3.1e23181
pkgrel=2
pkgdesc="Always treat stdout as a tty"
arch=('x86_64')
url="https://github.com/weirane/alwaysatty"
license=('MIT')
depends=('sh')
makedepends=('git' 'gcc')
source=("${pkgname%-git}::git+https://github.com/weirane/alwaysatty")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|