desktop/kdenetwork-kppp/PKGBUILD

35 lines
957 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
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
pkgdesc="PPP client"
2013-06-26 06:02:12 +08:00
url="http://kde.org/applications/internet/kppp/"
depends=("kde-runtime" 'ppp')
2013-06-26 06:02:12 +08:00
groups=("kde" "kdenetwork" "kde-uninstall")
categories=('network')
conflicts=("kdenetwork-common" "kdenetwork-doc")
2013-06-26 06:02:12 +08:00
install=kdenetwork.install
license=('GPL' 'LGPL' 'FDL')
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
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
make DESTDIR=${pkgdir} install
2013-06-26 06:02:12 +08:00
}