desktop/kdenetwork-kget/PKGBUILD

40 lines
1.2 KiB
Bash
Raw Normal View History

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
2013-06-26 05:13:19 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2013-06-26 05:13:19 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2014-01-13 09:11:58 +08:00
pkgname="kdenetwork-kget"
2013-06-26 05:13:19 +08:00
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
2013-06-26 05:13:19 +08:00
pkgdesc="Download manager"
url="http://kde.org/applications/internet/kget/"
depends=("kde-workspace=4.11.5" 'qca' 'kwebkitpart>=0.9.6' 'libktorrent>=1.0.4' 'libmms')
2013-06-26 05:13:19 +08:00
groups=("kde" "kdenetwork" "kde-uninstall")
categories=('network')
conflicts=("kdenetwork-common" "kdenetwork-doc" "kdenetwork-kget")
provides=("kdenetwork-kget")
replaces=("kdenetwork-kget")
2013-06-26 05:13:19 +08:00
install=kdenetwork.install
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!header' 'debug' 'log')
2013-06-26 05:13:19 +08:00
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
2014-01-13 09:11:58 +08:00
source=("$_mirror/kget-$_kdever.tar.xz")
sha256sums=(`grep kget-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
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 \
-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
}