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

Felix Yan felixonmars at archlinux.org
Mon Jun 29 08:49:58 UTC 2020


    Date: Monday, June 29, 2020 @ 08:49:57
  Author: felixonmars
Revision: 390573

archrelease: copy trunk to testing-x86_64

Added:
  mpdecimal/repos/testing-x86_64/
  mpdecimal/repos/testing-x86_64/PKGBUILD
    (from rev 390572, mpdecimal/trunk/PKGBUILD)

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

Copied: mpdecimal/repos/testing-x86_64/PKGBUILD (from rev 390572, mpdecimal/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-06-29 08:49:57 UTC (rev 390573)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mpdecimal
+pkgver=2.5.0
+pkgrel=1
+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=('6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472')
+
+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