[arch-commits] Commit in kstars/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jul 18 22:46:11 UTC 2020


    Date: Saturday, July 18, 2020 @ 22:46:11
  Author: arojas
Revision: 664495

Update to 3.4.3

Modified:
  kstars/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-18 22:22:39 UTC (rev 664494)
+++ PKGBUILD	2020-07-18 22:46:11 UTC (rev 664495)
@@ -3,8 +3,8 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=kstars
-pkgver=3.4.2
-pkgrel=2
+pkgver=3.4.3
+pkgrel=1
 epoch=1
 pkgdesc="Desktop Planetarium"
 url="https://kde.org/applications/education/kstars/"
@@ -15,22 +15,16 @@
 makedepends=(extra-cmake-modules kdoctools eigen)
 optdepends=('xplanet: XPlanet support')
 source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('1300c0a9ef46972c56bbf2cca238b2106b7b8e6160f29dd2f057c3fdd09045ef'
+sha256sums=('c81119a85e9265991dd0fbfafdc6ba797bf3bedce64f4d5260511bafccebbe48'
             'SKIP')
 validpgpkeys=(259D9FCEE9175351965633696D9CE2AEE028C4F3) # Jasem Mutlaq <mutlaqja at ikarustech.com>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }


More information about the arch-commits mailing list