[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Apr 14 17:45:10 UTC 2015


    Date: Tuesday, April 14, 2015 @ 19:45:10
  Author: arojas
Revision: 236547

Let's keep this for now, 5.3 won't work in KDE4

Added:
  bluedevil4/
  bluedevil4/trunk/
  bluedevil4/trunk/PKGBUILD
  bluedevil4/trunk/bluedevil4.install

--------------------+
 PKGBUILD           |   35 +++++++++++++++++++++++++++++++++++
 bluedevil4.install |   12 ++++++++++++
 2 files changed, 47 insertions(+)

Added: bluedevil4/trunk/PKGBUILD
===================================================================
--- bluedevil4/trunk/PKGBUILD	                        (rev 0)
+++ bluedevil4/trunk/PKGBUILD	2015-04-14 17:45:10 UTC (rev 236547)
@@ -0,0 +1,35 @@
+# $Id$
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=bluedevil4
+_pkgname=bluedevil
+pkgver=2.1.1
+pkgrel=1
+pkgdesc='KDE bluetooth framework'
+arch=('i686' 'x86_64')
+url="https://projects.kde.org/projects/extragear/base/bluedevil"
+license=('GPL')
+depends=('kdebase-runtime' 'libbluedevil')
+makedepends=('cmake' 'automoc4')
+conflicts=('bluedevil')
+replaces=('bluedevil<1:5')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${_pkgname}/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
+md5sums=('9a6b011331678ea08f303049bcdbb69f')
+
+prepare() {
+  mkdir build
+}
+
+build(){
+  cd build
+  cmake ../${_pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: bluedevil4/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: bluedevil4/trunk/bluedevil4.install
===================================================================
--- bluedevil4/trunk/bluedevil4.install	                        (rev 0)
+++ bluedevil4/trunk/bluedevil4.install	2015-04-14 17:45:10 UTC (rev 236547)
@@ -0,0 +1,12 @@
+post_install() {
+  update-mime-database usr/share/mime &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list