[arch-commits] Commit in marble/kde-unstable (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Jul 30 18:25:20 UTC 2015


    Date: Thursday, July 30, 2015 @ 20:25:20
  Author: arojas
Revision: 242876

Split off marble-data to share with libmarble4

Modified:
  marble/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-30 12:41:57 UTC (rev 242875)
+++ PKGBUILD	2015-07-30 18:25:20 UTC (rev 242876)
@@ -5,9 +5,9 @@
 # Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
 
 pkgbase=marble
-pkgname=(marble libastro)
+pkgname=(marble libastro marble-data)
 pkgver=15.07.80
-pkgrel=2
+pkgrel=3
 pkgdesc="Desktop Globe"
 arch=(i686 x86_64)
 url="https://www.kde.org/applications/system/marble"
@@ -48,7 +48,7 @@
 package_libastro() {
   pkgdesc='Marble astronomy library'
   depends=(gcc-libs)
-  conflicts=('kdeedu-marble<15.04.3-3' marble-qt)
+  conflicts=('kdeedu-marble<15.07' marble-qt)
 
   cd build/src/lib/astro
   make DESTDIR="$pkgdir" install
@@ -55,7 +55,7 @@
 }
 
 package_marble() {
-  depends=(libastro qt5-webkit kparts knewstuff hicolor-icon-theme)
+  depends=(libastro marble-data qt5-webkit kparts knewstuff hicolor-icon-theme)
   optdepends=('gpsd: position information via gpsd'
             'quazip-qt5: reading and displaying .kmz files'
             'libwlocate: Position information based on neighboring WLAN networks'
@@ -72,4 +72,15 @@
 # provided by libastro
   rm -r "$pkgdir"/usr/include/astro
   rm "$pkgdir"/usr/lib/libastro.*
+
+# provided by marble-data
+  rm -r "$pkgdir"/usr/share/{icons,marble/data}
 }
+
+package_marble-data() {
+  pkgdesc='Data for Marble'
+  conflicts=('kdeedu-marble<15.07' 'marble<15.07.80-3' marble-qt)
+
+  cd build/data
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list