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

Antonio Rojas arojas at archlinux.org
Sat Dec 7 08:55:39 UTC 2019


    Date: Saturday, December 7, 2019 @ 08:55:39
  Author: arojas
Revision: 370521

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: rinutils/repos/extra-any/PKGBUILD (from rev 370520, rinutils/trunk/PKGBUILD)
===================================================================
--- repos/extra-any/PKGBUILD	                        (rev 0)
+++ repos/extra-any/PKGBUILD	2019-12-07 08:55:39 UTC (rev 370521)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=rinutils
+pkgver=0.1.4
+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=('8e201b3f736f3671d0da9e19e15dcce943bb7170bcb3c9b17474103520bec3fc')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+



More information about the arch-commits mailing list