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

Antonio Rojas arojas at archlinux.org
Mon Jul 20 13:12:56 UTC 2020


    Date: Monday, July 20, 2020 @ 13:12:56
  Author: arojas
Revision: 392298

Update to 0.4.1

Modified:
  rinutils/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-20 05:46:57 UTC (rev 392297)
+++ PKGBUILD	2020-07-20 13:12:56 UTC (rev 392298)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=rinutils
-pkgver=0.4.0
+pkgver=0.4.1
 pkgrel=1
 pkgdesc="C11 / gnu11 utilities C library"
 arch=(any)
@@ -10,23 +10,16 @@
 depends=()
 makedepends=(cmake)
 source=(https://github.com/shlomif/rinutils/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('ccabff71b0ac7de73036cf9613406ffff760daf14e0c6f8443fd299154bfd38a')
+sha256sums=('9744fc52f91b817648958b51fca3e331550c6c240308df76b84f512d84a65ef5')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWITH_TEST_SUITE=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
   install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
-



More information about the arch-commits mailing list