[arch-commits] Commit in rinutils/repos/extra-any (PKGBUILD PKGBUILD)

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


    Date: Monday, July 20, 2020 @ 13:13:10
  Author: arojas
Revision: 392299

archrelease: copy trunk to extra-any

Added:
  rinutils/repos/extra-any/PKGBUILD
    (from rev 392298, rinutils/trunk/PKGBUILD)
Deleted:
  rinutils/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++--------------------------------
 1 file changed, 25 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-20 13:12:56 UTC (rev 392298)
+++ PKGBUILD	2020-07-20 13:13:10 UTC (rev 392299)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=rinutils
-pkgver=0.4.0
-pkgrel=1
-pkgdesc="C11 / gnu11 utilities C library"
-arch=(any)
-url="https://www.shlomifish.org/open-source/projects/"
-license=(MIT)
-depends=()
-makedepends=(cmake)
-source=(https://github.com/shlomif/rinutils/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('ccabff71b0ac7de73036cf9613406ffff760daf14e0c6f8443fd299154bfd38a')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWITH_TEST_SUITE=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-

Copied: rinutils/repos/extra-any/PKGBUILD (from rev 392298, rinutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-20 13:13:10 UTC (rev 392299)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=rinutils
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="C11 / gnu11 utilities C library"
+arch=(any)
+url="https://www.shlomifish.org/open-source/projects/"
+license=(MIT)
+depends=()
+makedepends=(cmake)
+source=(https://github.com/shlomif/rinutils/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
+sha256sums=('9744fc52f91b817648958b51fca3e331550c6c240308df76b84f512d84a65ef5')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_TEST_SUITE=OFF
+  cmake --build build
+}
+
+package() {
+  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