2013-01-19 06:58:42 +08:00
|
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
# Contributions from AUR: https://aur.archlinux.org/packages/kdeplasma-applets-homerun/
|
|
|
|
|
|
|
|
pkgname=kdeplasma-applets-homerun
|
|
|
|
_pkgname=homerun
|
2013-02-28 05:18:32 +08:00
|
|
|
pkgver=0.2.1
|
2013-02-28 06:19:54 +08:00
|
|
|
pkgrel=2
|
2013-01-19 06:58:42 +08:00
|
|
|
pkgdesc="An application launcher for KDE Plasma desktop"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://userbase.kde.org/Homerun"
|
|
|
|
license=('GPL' 'LGPL' 'BSD')
|
|
|
|
depends=('kde-workspace')
|
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
conflicts=('kdeplasma-applets-homerun-git')
|
2013-02-28 06:19:54 +08:00
|
|
|
source=("http://download.kde.org/unstable/$_pkgname/src/$_pkgname-$pkgver.tar.bz2"
|
|
|
|
'icon.diff')
|
|
|
|
install=$pkgname.install
|
2013-01-19 06:58:42 +08:00
|
|
|
screenshot=('https://lh5.googleusercontent.com/-axerTR3fGvY/UExd_g_qByI/AAAAAAAAhlE/wKm_W5XtwWY/homerun.png')
|
2013-02-28 06:19:54 +08:00
|
|
|
md5sums=('8987d9b2f5ff82ba89495c705f75488a'
|
|
|
|
'50a4ecca639625a23d27589589a0f6f2')
|
2013-01-19 06:58:42 +08:00
|
|
|
|
|
|
|
build() {
|
2013-02-28 06:19:54 +08:00
|
|
|
cd "$srcdir"/$_pkgname-$pkgver
|
|
|
|
patch -p1 -i "${srcdir}/icon.diff"
|
2013-01-19 06:58:42 +08:00
|
|
|
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"
|
|
|
|
}
|