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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: <shlomochoina@gmail.com>
pkgname=uterm-git
_pkgname=uterm
pkgver=r96.6a8ab26
pkgrel=1
pkgdesc="A WIP terminal emulator, written in C++11 using Skia, libtsm, and GLFW "
arch=('x86_64')
url="https://github.com/kirbyfan64/uterm"
license=('MIT')
depends=('mesa' 'freetype2' 'fontconfig')
makedepends=('git' 'fbuild' 'clang')
source=('git+https://github.com/kirbyfan64/uterm.git'
'git+https://github.com/skaslev/gl3w.git'
'abseil::git+https://github.com/abseil/abseil-cpp.git'
'git+https://github.com/google/skia.git#branch=chrome/m65'
'git+https://github.com/fmtlib/fmt.git#branch=4.x'
'git+https://github.com/nemtrif/utfcpp.git'
'git+https://github.com/Aetf/libtsm#branch=master'
'git+https://github.com/greg7mdp/sparsepp')
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${_pkgname}"
git submodule init deps/{gl3w,abseil,skia,fmt,utfcpp,libtsm,sparsepp}
git config submodule.abseil.url ../abseil
git config submodule.gl3w.url ../gl3w
git config submodule.skia.url ../skia
git config submodule.fmt.url ../fmt
git config submodule.utfcpp.url ../utfcpp
git config submodule.libtsm.url ../libtsm
git config submodule.sparsepp.url ../sparsepp
git submodule update deps/{gl3w,abseil,skia,fmt,utfcpp,libtsm,sparsepp}
}
build() {
cd "$srcdir/${_pkgname}"
fbuild
}
package() {
cd "$srcdir/${_pkgname}"
fbuild install --release --destdir="$pkgdir" --prefix=usr
}
|