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

David Runge dvzrv at archlinux.org
Wed Dec 25 18:29:33 UTC 2019


    Date: Wednesday, December 25, 2019 @ 18:29:32
  Author: dvzrv
Revision: 541200

upgpkg: redkite 0.6.3-1: Upgrading to 0.6.3. Updating maintainer info. Simplifing cmake setup.

Modified:
  redkite/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 18:07:29 UTC (rev 541199)
+++ PKGBUILD	2019-12-25 18:29:32 UTC (rev 541200)
@@ -1,7 +1,7 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=redkite
-pkgver=0.6.2
+pkgver=0.6.3
 pkgrel=1
 pkgdesc="A small free software and cross-platform GUI toolkit"
 arch=('x86_64')
@@ -10,29 +10,22 @@
 depends=('glibc' 'cairo')
 makedepends=('cmake')
 source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/geontime/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('dde01be8d5762eed6c6af621c4f287248b51ed679ec8791f59a4083be1631c560e7323a4bdcc24d6cc7cb9c3cc2957f4352370ccaa72ded5442a069e59bb0cfb')
+sha512sums=('70fa0f1b08edc6695952e504cee0832138bbb18c2f218eed564cc817b1ccd6847d44ae0a6ee1fbf38c48b030fe3631407a3c015c715931f8bdf902b0b8878e6c')
 
 prepare() {
   mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  mkdir -pv build
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  (
-    cd build
-    cmake -DCMAKE_INSTALL_PREFIX=/usr \
-          ..
-    make VERBOSE=1
-  )
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  (
-    cd build
-    make DESTDIR="$pkgdir/" install
-  )
+  make DESTDIR="$pkgdir/" install -C build
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


More information about the arch-commits mailing list