summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVictor Tran2018-06-13 16:38:10 +1000
committerVictor Tran2018-06-13 16:38:10 +1000
commit7398c2693ffa19873c72f907d082706ee5ad18d3 (patch)
tree7f772090bb5dd31766bbd0db438c83b9dedb5821 /PKGBUILD
downloadaur-7398c2693ffa19873c72f907d082706ee5ad18d3.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..83e528acc60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jerome Leclanche <jerome@leclan.ch>
+
+pkgname=tttermwidget
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="A terminal widget for Qt"
+arch=("i686" "x86_64")
+url="https://github.com/vicr123/tttermwidget"
+license=("GPL2")
+depends=("qt5-base" "libsm" "libxkbcommon-x11")
+makedepends=("cmake")
+source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/tttermwidget')
+md5sums=("SKIP")
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_DESIGNER_PLUGIN=0 \
+ -DUSE_QT5=true
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}