2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-06 04:19:15 +08:00
|
|
|
source ../kdeapps.conf
|
2013-06-26 06:02:12 +08:00
|
|
|
|
2014-01-13 09:11:58 +08:00
|
|
|
pkgname="kdenetwork-kppp"
|
2013-06-26 06:02:12 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
pkgver=${_kdever}
|
2014-02-01 19:24:18 +08:00
|
|
|
pkgrel=1
|
2014-01-13 01:14:31 +08:00
|
|
|
pkgdesc="PPP client"
|
2013-06-26 06:02:12 +08:00
|
|
|
url="http://kde.org/applications/internet/kppp/"
|
2015-04-06 04:52:39 +08:00
|
|
|
depends=("kde-runtime" 'ppp')
|
2013-06-26 06:02:12 +08:00
|
|
|
groups=("kde" "kdenetwork" "kde-uninstall")
|
|
|
|
categories=('network')
|
2014-01-16 06:33:24 +08:00
|
|
|
conflicts=("kdenetwork-common" "kdenetwork-doc")
|
2013-06-26 06:02:12 +08:00
|
|
|
install=kdenetwork.install
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2013-06-26 06:02:12 +08:00
|
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
|
2014-01-13 09:11:58 +08:00
|
|
|
source=("$_mirror/kppp-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep kppp-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2013-06-26 06:02:12 +08:00
|
|
|
|
|
|
|
build() {
|
2014-01-13 09:11:58 +08:00
|
|
|
cd ${srcdir}/kppp-$pkgver
|
2014-01-13 01:14:31 +08:00
|
|
|
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 06:02:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-01-13 09:11:58 +08:00
|
|
|
cd ${srcdir}/kppp-$pkgver
|
2014-01-13 01:14:31 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2013-06-26 06:02:12 +08:00
|
|
|
}
|