[arch-commits] Commit in (rinutils rinutils/trunk rinutils/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Dec 7 08:55:09 UTC 2019
Date: Saturday, December 7, 2019 @ 08:55:08
Author: arojas
Revision: 370520
New black-hole-solver dependency
Added:
rinutils/
rinutils/trunk/
rinutils/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: rinutils/trunk/PKGBUILD
===================================================================
--- rinutils/trunk/PKGBUILD (rev 0)
+++ rinutils/trunk/PKGBUILD 2019-12-07 08:55:08 UTC (rev 370520)
@@ -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