desktop/smb4k/PKGBUILD

33 lines
737 B
Bash
Raw Normal View History

2013-03-04 04:54:09 +08:00
pkgname=smb4k
2019-01-15 08:14:42 +08:00
pkgver=2.1.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')
2019-01-15 08:14:42 +08:00
url="https://smb4k.sourceforge.net/"
2013-03-04 04:54:09 +08:00
license=('GPL')
2017-05-21 03:14:35 +08:00
depends=('kparts' 'hicolor-icon-theme')
2019-01-15 08:14:42 +08:00
makedepends=('extra-cmake-modules' 'kdoctools' 'plasma-framework' 'python3')
source=("https://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('36f68f75ec3b9ada0f263acbee24a4e9b3f7aa0136e23b12f2af8f06f6c606bc')
2017-03-12 17:52:12 +08:00
prepare() {
mkdir -p build
}
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
2019-01-15 08:14:42 +08:00
make
2013-03-04 04:54:09 +08:00
}
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
}