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

Felix Yan felixonmars at archlinux.org
Fri Feb 21 13:31:19 UTC 2020


    Date: Friday, February 21, 2020 @ 13:31:18
  Author: felixonmars
Revision: 375983

archrelease: copy trunk to testing-x86_64

Added:
  autogen/repos/testing-x86_64/
  autogen/repos/testing-x86_64/PKGBUILD
    (from rev 375982, autogen/trunk/PKGBUILD)

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

Copied: autogen/repos/testing-x86_64/PKGBUILD (from rev 375982, autogen/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-02-21 13:31:18 UTC (rev 375983)
@@ -0,0 +1,38 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Arjan Timmerman <arjan at soufly.nl>
+# Contributor: Tor Krill
+
+pkgname=autogen
+pkgver=5.18.14
+pkgrel=1
+pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
+arch=('x86_64')
+url="https://www.gnu.org/software/autogen/"
+license=('GPL3')
+depends=('guile2.0' 'libxml2')
+source=(https://ftp.gnu.org/gnu/${pkgname}/rel${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
+validpgpkeys=('44A088E295C3A722C450590EC9EF76DEB74EE762') # Bruce Korb <bkorb at gnu.org>
+sha512sums=('dab8c8e00cb97cfaeff5adc0e0c2931ae79044864bdf70f396f865835c660cbc15d1bc4a34a9aae8e093feb1d178fe1fbb96d657c0f1ce64d9f4705a4e585c00'
+            'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/ -Werror / /' configure
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check -j1
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list