blob: f7a1a3fc142042f8b57e533d760c19bc4f859bb6 (
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
|
# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d>
pkgname=stdoutisatty-git
pkgver=11.c770750
pkgrel=1
pkgdesc="Make programs think their stdout is a tty / terminal."
arch=('x86_64' 'aarch64')
url='https://github.com/lilydjwg/stdoutisatty'
license=('BSD')
makedepends=('cmake' 'git')
source=('stdoutisatty::git+https://github.com/lilydjwg/stdoutisatty.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/stdoutisatty"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
mkdir "$srcdir/stdoutisatty/build"
cd "$srcdir/stdoutisatty/build"
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/stdoutisatty/build"
make install DESTDIR="$pkgdir"
}
|