desktop/kdenetwork-filesharing/PKGBUILD

32 lines
761 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
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')
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}
make
2013-06-26 04:53:21 +08:00
}
package() {
2015-12-05 07:26:22 +08:00
cd build
make DESTDIR=${pkgdir} install
2015-12-05 07:26:22 +08:00
}