2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-06 03:50:45 +08:00
|
|
|
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')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2017-05-13 06:21:23 +08:00
|
|
|
source=("$_mirror/kget-$_kdever.tar.xz"{,.sig})
|
2016-12-21 05:48:24 +08:00
|
|
|
sha256sums=(`grep kget-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
2017-05-13 06:21:23 +08:00
|
|
|
'SKIP')
|
2016-12-21 05:48:24 +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
|
2014-01-13 01:12:16 +08:00
|
|
|
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 \
|
2015-03-26 01:50:08 +08:00
|
|
|
-DWITH_KDE4Workspace=Off \
|
2014-01-13 01:12:16 +08:00
|
|
|
-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
|
2014-01-13 01:12:16 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2013-06-26 05:13:19 +08:00
|
|
|
}
|