blob: 4a8666957518a61595ef5a41a134d30e98d6a285 (
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
|
# Maintainer: Sherlock Holo <sherlockya(at)gmail.com>
pkgname=gnome-shell-extension-kimpanel-git
pkgver=20241015
pkgrel=1
pkgdesc="KDE's kimpanel implementation for GNOME Shell, now support fcitx"
arch=("i686" "x86_64")
license=('GPL')
url="https://github.com/wengxt/gnome-shell-extension-kimpanel"
depends=('gnome-shell' 'zip' 'unzip')
makedepends=('cmake' 'git')
source=("git+https://github.com/wengxt/gnome-shell-extension-kimpanel.git")
sha256sums=('SKIP')
_extensionname="kimpanel@kde.org"
_gitname="gnome-shell-extension-kimpanel"
_gitroot="https://github.com/wengxt/gnome-shell-extension-kimpanel.git"
build() {
cd "$srcdir/$_gitname"
#msg "Connecting to the GIT server...."
#if [[ -d $srcdir/$_gitname ]] ; then
# cd $_gitname
# git pull origin
# msg "The local files are updated."
#else
# git clone $_gitroot $_gitname
# cd $_gitname
#fi
## patch for gnome 3.30
#cd $srcdir/kimpanel-for-gnome-shell
#sed 's/global.screen/global.display/g' panel.js -i
rm -rf build
mkdir build
cd build
CMAKE=`which cmake`
cmake -DCMAKE_INSTALL_PREFIX=/usr .. || return 1
make clean || return 1
make || return 1
}
package(){
cd ${srcdir}/$_gitname/build
make DESTDIR=${pkgdir} install
}
|