main/qmltermwidget: fix linting issues (!872)

This commit is contained in:
Bart Ribbers 2020-01-06 11:15:40 +01:00
parent 4748cb423a
commit 57518d656a
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -2,28 +2,25 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qmltermwidget
pkgver=0.2.0
pkgrel=0
pkgrel=1
arch="all"
url="https://github.com/swordfish90/qmltermwidget"
license="GPL-2.0"
license="GPL-2.0-or-later"
pkgdesc="QML port of qtermwidget"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/swordfish90/$pkgname/archive/$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/swordfish90/qmltermwidget/archive/$pkgver.tar.gz"
options="!check" # Requires X11 running
build() {
cd "$builddir"
qmake-qt5
make
}
check() {
cd "$builddir"
/usr/lib/qt5/bin/qmlscene -l . test-app/test-app.qml
}
package() {
cd "$builddir"
INSTALL_ROOT="$pkgdir" make install
}
sha512sums="544d57296de6999b86bf2b921d1d93ac5d7eddd02eea436df4ecea0966c82389e716310fd7e4d13dd918bc1b3fd2d02f953c713dc5b4abcfc56d3f3f617adf43 qmltermwidget-0.2.0.tar.gz"