summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 83e528acc60..5bcd324d7f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,24 @@
-# Maintainer: Jerome Leclanche <jerome@leclan.ch>
+# Maintainer: Victor Tran <vicr12345 at gmail dot com>
pkgname=tttermwidget
-pkgver=0.6.0
-pkgrel=2
-pkgdesc="A terminal widget for Qt"
+pkgver=1.0
+pkgrel=1
+pkgdesc="Terminal widget used by theTerminal"
arch=("i686" "x86_64")
url="https://github.com/vicr123/tttermwidget"
license=("GPL2")
-depends=("qt5-base" "libsm" "libxkbcommon-x11")
-makedepends=("cmake")
+depends=("qt5-base" "libsm" "libxkbcommon-x11" "libutf8proc" "the-libs")
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
+ qmake $srcdir/$pkgname-$pkgver/tttermwidget.pro
make
}
package() {
cd build
- make DESTDIR="$pkgdir" install
+ make INSTALL_ROOT="$pkgdir" install
}