summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8021c43961c..13a14a50759 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = tremotesf
pkgdesc = Remote GUI for transmission-daemon
- pkgver = 1.7.1
+ pkgver = 1.8.0
pkgrel = 1
url = https://github.com/equeim/tremotesf2
arch = x86_64
@@ -10,10 +10,12 @@ pkgbase = tremotesf
makedepends = ninja
makedepends = gettext
depends = qt5-base
+ depends = qt5-x11extras
depends = kwidgetsaddons
+ depends = kwindowsystem
depends = hicolor-icon-theme
- source = https://github.com/equeim/tremotesf2/archive/1.7.1.tar.gz
- sha256sums = 1f6ed7c80c3ea3dfa9f7860c6a51c448d4907f10ec2025ac5d57968bb484dbb2
+ source = https://github.com/equeim/tremotesf2/archive/1.8.0.tar.gz
+ sha256sums = c3e8399f9df0a3a64b5e7a82aa63540e6038ecbabb6357b0d8586640e9b66b4a
pkgname = tremotesf
diff --git a/PKGBUILD b/PKGBUILD
index 61b443ad517..ca6d71fdaae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,25 @@
# Maintainer: Alexey Rochev <equeim@gmail.com>
pkgname='tremotesf'
-pkgver=1.7.1
+pkgver=1.8.0
pkgrel=1
pkgdesc='Remote GUI for transmission-daemon'
_reponame='tremotesf2'
url="https://github.com/equeim/${_reponame}"
arch=('x86_64')
license=('GPL3')
-depends=('qt5-base' 'kwidgetsaddons' 'hicolor-icon-theme')
+depends=('qt5-base' 'qt5-x11extras' 'kwidgetsaddons' 'kwindowsystem' 'hicolor-icon-theme')
makedepends=('qt5-tools' 'cmake' 'ninja' 'gettext')
source=("${url}/archive/${pkgver}.tar.gz")
-sha256sums=('1f6ed7c80c3ea3dfa9f7860c6a51c448d4907f10ec2025ac5d57968bb484dbb2')
-
-prepare() {
- mkdir -p build
-}
+sha256sums=('c3e8399f9df0a3a64b5e7a82aa63540e6038ecbabb6357b0d8586640e9b66b4a')
build() {
- cd build
- cmake "../${_reponame}-${pkgver}" \
+ cmake -B build -S "${_reponame}-${pkgver}" \
-G Ninja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- ninja
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" cmake --install build
}