[arch-commits] Commit in openlibm/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Sep 14 18:07:06 UTC 2021


    Date: Tuesday, September 14, 2021 @ 18:07:05
  Author: arojas
Revision: 1014819

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: openlibm/repos/community-staging-x86_64/PKGBUILD (from rev 1014818, openlibm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-09-14 18:07:05 UTC (rev 1014819)
@@ -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.8.0
+pkgrel=1
+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=('03620768df4ca526a63dd675c6de95a5c9d167ff59555ce57a61c6bf49e400ee')
+
+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