[arch-commits] Commit in openlibm (3 files)

Antonio Rojas arojas at archlinux.org
Fri Dec 6 11:41:10 UTC 2019


    Date: Friday, December 6, 2019 @ 11:41:09
  Author: arojas
Revision: 535795

archrelease: copy trunk to community-x86_64

Added:
  openlibm/repos/
  openlibm/repos/community-x86_64/
  openlibm/repos/community-x86_64/PKGBUILD
    (from rev 535794, openlibm/trunk/PKGBUILD)

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

Copied: openlibm/repos/community-x86_64/PKGBUILD (from rev 535794, openlibm/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-12-06 11:41:09 UTC (rev 535795)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web.de>
+# Contributor: Arthur Zamarin <arthurzam at gmail.com>
+
+pkgname=openlibm
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='Standalone implementation of C mathematical functions'
+arch=(x86_64)
+url='https://openlibm.org/'
+license=(BSD)
+depends=(glibc)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('d45439093d1fd15e2ac3acf69955e462401c7a160d3330256cb4a86c51bdae28')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|/usr/local|/usr|' -i Make.inc
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make prefix=/usr
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list