Date: Saturday, August 11, 2018 @ 15:54:54
  Author: andyrtr
Revision: 331388

archrelease: copy trunk to testing-x86_64

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

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

Copied: libnumbertext/repos/testing-x86_64/PKGBUILD (from rev 331387, 
libnumbertext/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-08-11 15:54:54 UTC (rev 331388)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andreas Radke <andy...@archlinux.org>
+
+pkgname=libnumbertext
+pkgver=1.0
+pkgrel=1
+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)
+noextract=()
+sha256sums=('db1864aa672e3d8e094f2cc64db1e1dd280266dd6c76899415adb91012b1da72'
+            '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/testing-x86_64/libnumbertext-updateautotools.patch 
(from rev 331387, libnumbertext/trunk/libnumbertext-updateautotools.patch)
===================================================================
--- testing-x86_64/libnumbertext-updateautotools.patch                          
(rev 0)
+++ testing-x86_64/libnumbertext-updateautotools.patch  2018-08-11 15:54:54 UTC 
(rev 331388)
@@ -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++])
+

Reply via email to