blob: 0f68f63502752e9732f59400f807e327c8a6a8be (
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
39
40
41
42
43
44
45
46
|
# Maintainer: Gary Wang <wzc782970009@gmail.com>
pkgname=dtk-terminal-git
pkgver=r71.09d3319
pkgrel=1
pkgdesc='A DTK and QTermWidget based terminal emulator'
arch=('x86_64' 'aarch64')
url='https://github.com/BLumia/deepin-terminal-ng/'
license=('GPL3')
depends=(
'qtermwidget'
)
makedepends=(
'git'
'qt5-tools'
'cmake'
)
optdepends=(
)
source=(
'git+https://github.com/BLumia/deepin-terminal-ng.git'
)
md5sums=(
'SKIP'
)
pkgver() {
cd ${srcdir}/deepin-terminal-ng
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {
cd ${srcdir}/deepin-terminal-ng
cmake -DCMAKE_INSTALL_PREFIX=/usr .
cmake --build . -j`nproc`
}
package() {
make -C ${srcdir}/deepin-terminal-ng DESTDIR="$pkgdir" install
cd ${srcdir}/deepin-terminal-ng
#make INSTALL_ROOT="$pkgdir" install
#install -Dm755 ./ppic ${pkgdir}/usr/bin/ppic
mkdir -p ${pkgdir}/usr/share/licenses/dtk-terminal-git
install ./LICENSE ${pkgdir}/usr/share/licenses/dtk-terminal-git/LICENSE
}
|