blob: 535a4b9e9c367ba88e5e996f07e7a0b3a455c1e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
pkgname=qmarineplatformtheme5
_conflictpkgname=qt5ct
_pkguntar=qmarinetheme
pkgver=0.3.0
pkgrel=1
pkgdesc="Another qt5ct for qt5, use toml as config"
url="https://github.com/Decodetalkers/qmarinetheme"
arch=('x86_64' 'aarch64')
license=('MIT')
makedepends=('git' 'ninja' 'cmake' 'tomlplusplus' 'kconfig5' 'kconfigwidgets5' 'kiconthemes5')
depends=('kconfig5' 'qt5-base' 'kconfigwidgets5' 'kiconthemes5')
provides=("$_conflictpkgname")
conflicts=("$_conflictpkgname")
sha256sums=('7958d6cbe7a0c1d5fdc8760078a74eec770660d6212c511ae1599fc7c1dfaa6e')
source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/Decodetalkers/qmarinetheme/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd ${_pkguntar}-$pkgver
cmake -GNinja \
-DQT_PLUGIN_DIR=/usr/lib/qt/plugins/ \
-DQT_VERSION=5 \
-DCMAKE_INSTALL_PREFIX=/usr .
ninja
}
package() {
cd ${_pkguntar}-$pkgver
DESTDIR="$pkgdir" ninja install
}
|