summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Rochev2018-08-13 16:57:41 +0300
committerAlexey Rochev2018-08-13 16:57:41 +0300
commitb86f910e30ac2dbdcd16a4993a14e2aa45fe6b69 (patch)
tree8923679926c46a58a439360120f899ae519fe07c
parenta627a28282a5cb0e9a7cac8688e9f901ee03148d (diff)
downloadaur-b86f910e30ac2dbdcd16a4993a14e2aa45fe6b69.tar.gz
1.5.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 20 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 79e421120a6..972714b2669 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
pkgbase = tremotesf
pkgdesc = Remote GUI for transmission-daemon
- pkgver = 1.4.0
+ pkgver = 1.5.0
pkgrel = 1
url = https://github.com/equeim/tremotesf2
arch = x86_64
license = GPL3
makedepends = qt5-tools
+ makedepends = cmake
+ makedepends = ninja
depends = qt5-base
depends = kwidgetsaddons
depends = hicolor-icon-theme
- source = https://github.com/equeim/tremotesf2/archive/1.4.0.tar.gz
- sha256sums = ce474920e570849517c0e93185a622fad48b9d6fa2d1fb82aaf5f35ee94fd320
+ source = https://github.com/equeim/tremotesf2/archive/1.5.0.tar.gz
+ sha256sums = 6c3402fc97685088ed0c8735feb25c075649f624ab64993872b8191b9f1de3c9
pkgname = tremotesf
diff --git a/PKGBUILD b/PKGBUILD
index e41c59fac50..f6ce1f290e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alexey Rochev <equeim@gmail.com>
pkgname='tremotesf'
-pkgver=1.4.0
+pkgver=1.5.0
pkgrel=1
pkgdesc='Remote GUI for transmission-daemon'
_reponame='tremotesf2'
@@ -9,17 +9,24 @@ url="https://github.com/equeim/${_reponame}"
arch=('x86_64')
license=('GPL3')
depends=('qt5-base' 'kwidgetsaddons' 'hicolor-icon-theme')
-makedepends=('qt5-tools')
+makedepends=('qt5-tools' 'cmake' 'ninja')
source=("${url}/archive/${pkgver}.tar.gz")
-sha256sums=('ce474920e570849517c0e93185a622fad48b9d6fa2d1fb82aaf5f35ee94fd320')
+sha256sums=('6c3402fc97685088ed0c8735feb25c075649f624ab64993872b8191b9f1de3c9')
+
+prepare() {
+ mkdir -p build
+}
build() {
- cd "${_reponame}-${pkgver}"
- qmake PREFIX=/usr
- make
+ cd build
+ cmake .. ../${_reponame}-${pkgver} \
+ -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ ninja
}
package() {
- cd "${_reponame}-${pkgver}"
- make INSTALL_ROOT="${pkgdir}" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}