desktop/smb4k/PKGBUILD

36 lines
845 B
Bash
Raw Normal View History

2013-03-04 04:54:09 +08:00
pkgname=smb4k
2017-05-21 03:14:35 +08:00
pkgver=2.0.1
2015-10-07 04:56:57 +08:00
pkgrel=1
2013-03-04 04:54:09 +08:00
pkgdesc="A KDE program that browses samba shares"
arch=('x86_64')
url="http://sourceforge.net/projects/smb4k/"
license=('GPL')
2017-05-21 03:14:35 +08:00
depends=('kparts' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'plasma-framework')
2017-03-12 17:52:12 +08:00
source=("https://sourceforge.net/projects/smb4k/files/$pkgver/$pkgname-$pkgver.tar.xz")
2017-05-21 03:14:35 +08:00
sha256sums=('0418ca9ae9a62cde6cfdc4ffad7525868048827366166578936e988ce7a6009e')
2017-03-12 17:52:12 +08:00
prepare() {
mkdir -p build
# Fix doc cmake conflicts
sed -e '/kdoctools_install/d' -i $pkgname-$pkgver/CMakeLists.txt
}
2013-03-04 04:54:09 +08:00
build() {
2017-03-12 17:52:12 +08:00
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
2013-03-04 04:54:09 +08:00
make VERBOSE=1
}
package() {
2017-03-12 17:52:12 +08:00
cd build
2013-03-04 04:54:09 +08:00
2015-10-07 04:56:57 +08:00
make DESTDIR=$pkgdir install
2013-05-13 01:08:54 +08:00
}