desktop/zeroconf-ioslave/PKGBUILD

38 lines
1.1 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2013-06-26 05:03:00 +08:00
2014-03-26 05:32:05 +08:00
pkgname=zeroconf-ioslave
2013-06-26 05:03:00 +08:00
arch=('x86_64')
pkgver=${_kdever}
2017-03-11 19:09:51 +08:00
pkgrel=1
2013-06-26 05:03:00 +08:00
pkgdesc='Monitors the network for DNS-SD services'
depends=("kdelibs")
2014-03-26 05:32:05 +08:00
replaces=("kdenetwork-kdnssd")
provides=("kdenetwork-kdnssd")
conflicts=("kdenetwork-common" "kdenetwork-doc" "kdenetwork-kdnssd")
groups=("kde" "kdenetwork" "kde-uninstall" 'kdenetwork')
2013-06-26 05:03:00 +08:00
categories=('network')
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
2013-06-26 05:03:00 +08:00
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
source=("$_mirror/zeroconf-ioslave-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep zeroconf-ioslave-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
2017-08-11 00:14:23 +08:00
validpgpkeys=(${Avalidpgpkeys[@]})
2013-06-26 05:03:00 +08:00
build() {
2014-03-26 20:37:59 +08:00
cd ${srcdir}/${pkgname}-$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:03:00 +08:00
}
package() {
2014-03-26 20:37:59 +08:00
cd ${srcdir}/${pkgname}-$pkgver
make DESTDIR=${pkgdir} install
2013-06-26 05:03:00 +08:00
}