mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributions from AUR: https://aur.archlinux.org/packages/kdeplasma-applets-homerun/
|
|
|
|
pkgname=kdeplasma-applets-homerun
|
|
_pkgname=homerun
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="An application launcher for KDE Plasma desktop"
|
|
arch=('x86_64')
|
|
url="http://userbase.kde.org/Homerun"
|
|
license=('GPL' 'LGPL' 'BSD')
|
|
depends=('kde-workspace' 'kde-baseapps')
|
|
makedepends=('cmake' 'automoc4')
|
|
conflicts=('kdeplasma-applets-homerun-git')
|
|
install=$pkgname.install
|
|
screenshot=('https://lh5.googleusercontent.com/-axerTR3fGvY/UExd_g_qByI/AAAAAAAAhlE/wKm_W5XtwWY/homerun.png')
|
|
source=("http://download.kde.org/stable/$_pkgname/src/$_pkgname-$pkgver.tar.xz"
|
|
'icon.diff')
|
|
md5sums=('505c1e9367e697f49aaed0733394b36f'
|
|
'50a4ecca639625a23d27589589a0f6f2')
|
|
|
|
build() {
|
|
cd "$srcdir"/$_pkgname-$pkgver
|
|
patch -p1 -i "${srcdir}/icon.diff"
|
|
cd "$srcdir"
|
|
mkdir build
|
|
cd build
|
|
cmake ../$_pkgname-$pkgver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE.BSD" "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
|
|
}
|