[arch-commits] Commit in mpdecimal/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 07:50:51 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:50:51
  Author: foutrelis
Revision: 386046

archrelease: copy trunk to staging-x86_64

Added:
  mpdecimal/repos/staging-x86_64/
  mpdecimal/repos/staging-x86_64/PKGBUILD
    (from rev 386045, mpdecimal/trunk/PKGBUILD)

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

Copied: mpdecimal/repos/staging-x86_64/PKGBUILD (from rev 386045, mpdecimal/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:50:51 UTC (rev 386046)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mpdecimal
+pkgver=2.4.2
+pkgrel=3
+pkgdesc="Package for correctly-rounded arbitrary precision decimal floating point arithmetic"
+arch=('x86_64')
+url="https://www.bytereef.org/mpdecimal/index.html"
+license=('custom')
+depends=('glibc')
+source=("https://www.bytereef.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz")
+sha512sums=('eb18ad53b81b93c469db4d915bbb3fae21b36ad82a88e01fef3a6946ac5f50b54376e259a5ecbe23836f1efd59d226b942ecdee87eaba7f9e75cdcaaa9499ef7')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list