[arch-commits] Commit in libnumbertext/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 10:53:42 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:53:41
  Author: felixonmars
Revision: 384208

archrelease: copy trunk to staging-x86_64

Added:
  libnumbertext/repos/staging-x86_64/
  libnumbertext/repos/staging-x86_64/PKGBUILD
    (from rev 384206, libnumbertext/trunk/PKGBUILD)
  libnumbertext/repos/staging-x86_64/libnumbertext-updateautotools.patch
    (from rev 384206, libnumbertext/trunk/libnumbertext-updateautotools.patch)

-------------------------------------+
 PKGBUILD                            |   38 ++++++++++++++++++++++++++++++++++
 libnumbertext-updateautotools.patch |   21 ++++++++++++++++++
 2 files changed, 59 insertions(+)

Copied: libnumbertext/repos/staging-x86_64/PKGBUILD (from rev 384206, libnumbertext/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:53:41 UTC (rev 384208)
@@ -0,0 +1,38 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libnumbertext
+pkgver=1.0.5
+pkgrel=2
+pkgdesc="Number to number name and money text conversion library"
+arch=('x86_64')
+url="https://github.com/Numbertext/libnumbertext"
+license=('LGPL3' 'custom')
+depends=('gcc-libs')
+source=(https://github.com/Numbertext/libnumbertext/archive/$pkgver.tar.gz
+        libnumbertext-updateautotools.patch)
+sha256sums=('508f259325efc25705e27ca1bafe487aa0b8b0f5cc3bf77cb2d53ce7f119c380'
+            '4c1be70cbb6c7b5e2f9d3842ad83ea95971d99663768e5df2ac74956fc4555bd')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../libnumbertext-updateautotools.patch
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # add dual license file
+  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 COPYING
+}

Copied: libnumbertext/repos/staging-x86_64/libnumbertext-updateautotools.patch (from rev 384206, libnumbertext/trunk/libnumbertext-updateautotools.patch)
===================================================================
--- staging-x86_64/libnumbertext-updateautotools.patch	                        (rev 0)
+++ staging-x86_64/libnumbertext-updateautotools.patch	2020-05-16 10:53:41 UTC (rev 384208)
@@ -0,0 +1,21 @@
+--- libnumbertext-1.0.2/configure.ac	2018-06-12 14:48:53.518952998 +0100
++++ libnumbertext-1.0.2/configure.ac	2018-06-12 14:50:48.000000000 +0100
+@@ -3,7 +3,7 @@
+ m4_define([numbertext_version_micro],[2])
+ m4_define([numbertext_version],[numbertext_version_major.numbertext_version_minor.numbertext_version_micro])
+ 
+-AC_PREREQ([2.68])
++AC_PREREQ([2.69])
+ 
+ AC_INIT([libnumbertext],[numbertext_version])
+ AC_CONFIG_MACRO_DIR([m4])
+@@ -18,7 +18,7 @@
+ AC_PROG_CPP
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+-AC_PROG_LIBTOOL
++LT_INIT
+ 
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_LANG([C++])
+



More information about the arch-commits mailing list