desktop/kdenetwork-kget/PKGBUILD

45 lines
1.2 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2013-06-26 05:13:19 +08:00
2014-01-13 09:11:58 +08:00
pkgname="kdenetwork-kget"
2013-06-26 05:13:19 +08:00
arch=('x86_64')
pkgver=${_kdever}
2017-05-13 06:21:23 +08:00
pkgrel=1
2013-06-26 05:13:19 +08:00
pkgdesc="Download manager"
url="http://kde.org/applications/internet/kget/"
2017-05-13 06:21:23 +08:00
depends=('kdebase-runtime' 'libmms' 'qca')
makedepends=('cmake' 'automoc4' 'boost')
#optdepends=('libktorrent4: torrent support')
2013-06-26 05:13:19 +08:00
groups=("kde" "kdenetwork" "kde-uninstall")
2014-01-13 17:05:52 +08:00
conflicts=("kdenetwork-common" "kdenetwork-doc")
2013-06-26 05:13:19 +08:00
install=kdenetwork.install
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
2017-05-13 06:21:23 +08:00
source=("$_mirror/kget-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep kget-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
2017-05-13 06:21:23 +08:00
'SKIP')
2017-08-11 00:14:23 +08:00
validpgpkeys=(${Avalidpgpkeys[@]})
2015-01-25 08:40:28 +08:00
prepare(){
cd ${srcdir}/kget-$pkgver
}
2013-06-26 05:13:19 +08:00
build() {
2014-01-13 09:11:58 +08:00
cd ${srcdir}/kget-$pkgver
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
2014-08-27 02:38:11 +08:00
-DWITH_NepomukCore=Off \
-DWITH_NepomukWidgets=Off \
-DWITH_KDE4Workspace=Off \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
2013-06-26 05:13:19 +08:00
}
package() {
2014-01-13 09:11:58 +08:00
cd ${srcdir}/kget-$pkgver
make DESTDIR=${pkgdir} install
2013-06-26 05:13:19 +08:00
}