blob: 45cef3fca0017da82fc9ad1b78ac33fb7d068da0 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Maintainer: Aster O'Connor <archlinux dot anatomist477 at passmail dot net>
pkgname=gwenview-aero-git
_pkgname=gwenview-aero
pkgver=r7825.d4f48c31
pkgrel=2
pkgdesc="Aero-styled fork of KDE's Gwenview Image Viewer"
arch=('x86_64')
url="https://gitgud.io/atmk/gwenview-aero"
license=('GPL-2.0-or-later')
install='gwenview-aero.install'
options=('strip' '!debug')
provides=('gwenview')
conflicts=('gwenview')
depends=(
'wayland-protocols'
'qt6-base'
'qt6-multimedia'
'kcmutils'
'knewstuff'
'kcoreaddons'
'ki18n'
'kdbusaddons'
'kbookmarks'
'kimageannotator'
'kconfig'
'kio'
'kparts'
'solid'
'kiconthemes'
'kcompletion'
'ktextwidgets'
'knotifications'
'kcrash'
'kwindowsystem'
'kwidgetsaddons'
'kcodecs'
'kguiaddons'
'kcolorscheme'
'kfilemetadata'
'baloo'
'baloo-widgets'
'kuserfeedback'
'packagekit-qt6'
'libaero-qt-git'
)
makedepends=(
'git'
'extra-cmake-modules'
'kdoctools'
)
source=("git+https://gitgud.io/atmk/gwenview-aero.git")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
# Generates version based on total commit count and short hash (e.g., r123.a1b2c3d)
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -G Ninja -S "$_pkgname" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|