blob: 565d788af410511f20b8105be26eb76c9e0177da (
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
|
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
_pkgname=qtermwidget
pkgname=$_pkgname-git
pkgver=0.14.1.57.g911ae03
pkgrel=1
pkgdesc="A terminal widget for Qt, used by QTerminal"
arch=("x86_64")
url="https://github.com/lxqt/qtermwidget"
# Yep, it's messy when you're talking about licenses
license=("LGPL" "custom:BSD" "custom:Public Domain")
depends=("qt5-base")
makedepends=("git" "cmake" "lxqt-build-tools-git" "qt5-tools"
"python-pyqt5" "python-sip" "sip")
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
optdepends=(
'python: PyQt5 bindings'
)
source=("git+https://github.com/lxqt/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --always | sed "s/-/./g"
}
build() {
mkdir -p build
cd build
cmake "$srcdir/$_pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQTERMWIDGET_BUILD_PYTHON_BINDING=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$_pkgname/README.md" -t "$pkgdir"/usr/share/licenses/$pkgname
}
|