dolphin-yandex-disk-overlay 0.1.0-1
This commit is contained in:
57
dolphin-yandex-disk-overlay/alr.sh
Normal file
57
dolphin-yandex-disk-overlay/alr.sh
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
name='dolphin-yandex-disk-overlay'
|
||||||
|
version='0.1.0'
|
||||||
|
release='1'
|
||||||
|
desc='Dolphin overlay icons plugin for Yandex.Disk sync status'
|
||||||
|
desc_ru='Плагин overlay-иконок статуса синхронизации Яндекс.Диска для Dolphin'
|
||||||
|
homepage='https://gitea.plemya-x.ru/Plemya-x/dolphin-yandex-disk-overlay'
|
||||||
|
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||||
|
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||||
|
architectures=('amd64')
|
||||||
|
license=('GPL-3.0-or-later')
|
||||||
|
|
||||||
|
deps=(
|
||||||
|
'qt6-qtbase'
|
||||||
|
'kf6-kio'
|
||||||
|
'yandex-disk-ui'
|
||||||
|
)
|
||||||
|
deps_alt=('qt6-base' 'kf6-kio' 'yandex-disk-ui')
|
||||||
|
deps_arch=('qt6-base' 'kio' 'yandex-disk-ui')
|
||||||
|
deps_debian=('qt6-base-dev' 'libkf6kio-dev' 'yandex-disk-ui')
|
||||||
|
deps_fedora=("${deps[@]}")
|
||||||
|
deps_redos=("${deps_fedora[@]}")
|
||||||
|
deps_rhel=("${deps_fedora[@]}")
|
||||||
|
deps_rosa=("${deps_fedora[@]}")
|
||||||
|
|
||||||
|
build_deps=(
|
||||||
|
'cmake'
|
||||||
|
'extra-cmake-modules'
|
||||||
|
'qt6-qtbase-devel'
|
||||||
|
'kf6-kio-devel'
|
||||||
|
'kf6-kcoreaddons-devel'
|
||||||
|
)
|
||||||
|
build_deps_alt=('cmake' 'extra-cmake-modules' 'qt6-base-devel' 'kf6-kio-devel' 'kf6-kcoreaddons-devel')
|
||||||
|
build_deps_arch=('cmake' 'extra-cmake-modules' 'qt6-base' 'kio' 'kcoreaddons')
|
||||||
|
build_deps_debian=('cmake' 'extra-cmake-modules' 'qt6-base-dev' 'libkf6kio-dev' 'libkf6coreaddons-dev')
|
||||||
|
build_deps_fedora=("${build_deps[@]}")
|
||||||
|
build_deps_redos=("${build_deps_fedora[@]}")
|
||||||
|
build_deps_rhel=("${build_deps_fedora[@]}")
|
||||||
|
build_deps_rosa=("${build_deps_fedora[@]}")
|
||||||
|
|
||||||
|
sources=("git+https://gitea.plemya-x.ru/Plemya-x/dolphin-yandex-disk-overlay.git#tag=v${version}")
|
||||||
|
checksums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cmake -B build -S $name \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build build -j$(($(nproc) - 1))
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 build/lib$name.so \
|
||||||
|
"$pkgdir/usr/lib64/qt6/plugins/kf6/overlayicon/lib$name.so"
|
||||||
|
}
|
||||||
|
|
||||||
|
files() {
|
||||||
|
files-find-lib
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user