2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-06 04:19:15 +08:00
|
|
|
source ../kdeapps.conf
|
2013-06-26 04:53:21 +08:00
|
|
|
|
2015-12-05 07:26:22 +08:00
|
|
|
pkgname=kdenetwork-filesharing
|
2013-06-26 04:53:21 +08:00
|
|
|
pkgver=${_kdever}
|
2014-02-01 19:24:18 +08:00
|
|
|
pkgrel=1
|
2015-12-05 07:26:22 +08:00
|
|
|
pkgdesc='Properties dialog plugin to share a directory with the local network'
|
|
|
|
url='https://projects.kde.org/projects/kde/kdenetwork/kdenetwork-filesharing'
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL LGPL FDL)
|
|
|
|
groups=(kde-applications kdenetwork)
|
|
|
|
depends=(kio)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools)
|
|
|
|
optdepends=('samba: folder sharing')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2013-06-26 04:53:21 +08:00
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
2014-01-11 20:59:04 +08:00
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
2013-06-26 04:53:21 +08:00
|
|
|
|
2015-12-05 07:26:22 +08:00
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
2013-06-26 04:53:21 +08:00
|
|
|
build() {
|
2015-12-05 07:26:22 +08:00
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
2014-01-13 01:48:04 +08:00
|
|
|
make
|
2013-06-26 04:53:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-12-05 07:26:22 +08:00
|
|
|
cd build
|
2014-01-13 01:48:04 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2015-12-05 07:26:22 +08:00
|
|
|
}
|