diff options
author | Antonio Rojas | 2023-10-20 16:18:18 +0200 |
---|---|---|
committer | Antonio Rojas | 2023-10-20 16:18:18 +0200 |
commit | 6964bbadb190202a584aed22b48c05ed9da0f641 (patch) | |
tree | a8e542d6525b65db19317543f48938f5de3335ad | |
parent | 9c617198eea93365c9f5dc2d712e8e040e40c8c0 (diff) | |
download | aur-6964bbadb190202a584aed22b48c05ed9da0f641.tar.gz |
Update kio dependency, modernize PKGBUILD
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 20 insertions, 21 deletions
@@ -1,15 +1,18 @@ pkgbase = kio-stash pkgdesc = A kio slave and daemon to stash discontinuous file selections pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = https://www.kde.org/ - arch = i686 arch = x86_64 license = GPL2 makedepends = extra-cmake-modules - depends = kio + depends = gcc-libs + depends = glibc + depends = kcoreaddons5 + depends = kdbusaddons5 + depends = kio5 + depends = qt5-base source = https://download.kde.org/stable/kio-stash/kio-stash-1.0.tar.xz sha256sums = d8ef422924e24317122524fb1d1e439d45ff9281a502a6258a782cfe0d8c8eaa pkgname = kio-stash - @@ -2,31 +2,27 @@ pkgname=kio-stash pkgver=1.0 -pkgrel=1 -pkgdesc="A kio slave and daemon to stash discontinuous file selections" -arch=(i686 x86_64) +pkgrel=2 +pkgdesc='A kio slave and daemon to stash discontinuous file selections' +arch=(x86_64) url="https://www.kde.org/" license=(GPL2) -depends=(kio) +depends=(gcc-libs + glibc + kcoreaddons5 + kdbusaddons5 + kio5 + qt5-base) makedepends=(extra-cmake-modules) -source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz") +source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz) sha256sums=('d8ef422924e24317122524fb1d1e439d45ff9281a502a6258a782cfe0d8c8eaa') -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DKDE_INSTALL_LIBDIR=lib \ + cmake -B build -S $pkgname-$pkgver \ -DBUILD_TESTING=OFF - make + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build } |