[arch-commits] Commit in libantlr3c/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue May 29 09:05:47 UTC 2018


    Date: Tuesday, May 29, 2018 @ 09:05:46
  Author: arodseth
Revision: 333155

archrelease: copy trunk to community-x86_64

Added:
  libantlr3c/repos/community-x86_64/PKGBUILD
    (from rev 333154, libantlr3c/trunk/PKGBUILD)
Deleted:
  libantlr3c/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 53 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-29 09:05:32 UTC (rev 333154)
+++ PKGBUILD	2018-05-29 09:05:46 UTC (rev 333155)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Mathieu Clabaut <mathieu.clabaut at gmail.com>
-# Contributor: Artyom Smirnov <smirnoffjr at gmail.com>
-# Contributor: Alexis Robert <alexis.robert at gmail.com>
-# Maintainer: Daniel Nagy < danielnagy at gmx de>
-
-pkgname=libantlr3c
-pkgver=3.5.2
-pkgrel=1
-pkgdesc="C runtime for the ANTLR parsing library"
-url="http://www.antlr.org/"
-arch=("i686" "x86_64")
-license=("BSD")
-depends=('bash')
-makedepends=()
-source=("$pkgname-$pkgver.tar.gz::https://github.com/antlr/antlr3/archive/$pkgver.tar.gz")
-sha256sums=('529baf7d11f06b773543e25271c1a6e1735d2f8061f4866d1ea5c99a5d71ee1f')
-
-prepare() {
-  cd "${srcdir}/antlr3-${pkgver}/runtime/C"
-  cat <<EOF >antlr3config.h.in
-#include <stdint.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
-#include <antlr3defs.h>
-EOF
-  aclocal
-  libtoolize
-  automake --add-missing
-  autoconf
-}
-
-build() {
-  cd "${srcdir}/antlr3-${pkgver}/runtime/C"
-  [ "$CARCH" = "x86_64" ] && _cfgopt=--enable-64bit
-  ./configure --prefix=/usr --sysconfdir=/etc ${_cfgopt}
-  make
-}
-
-package() {
-  cd "${srcdir}/antlr3-${pkgver}/runtime/C"
-  make install DESTDIR="${pkgdir}"
-  install -Dm0644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: libantlr3c/repos/community-x86_64/PKGBUILD (from rev 333154, libantlr3c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-29 09:05:46 UTC (rev 333155)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mathieu Clabaut <mathieu.clabaut at gmail.com>
+# Contributor: Artyom Smirnov <smirnoffjr at gmail.com>
+# Contributor: Alexis Robert <alexis.robert at gmail.com>
+# Contributor: Daniel Nagy <danielnagy at gmx.de>
+
+pkgname=libantlr3c
+pkgver=3.5.2
+pkgrel=1
+pkgdesc='C runtime for the ANTLR parsing library'
+url='http://www.antlr.org/'
+arch=('x86_64')
+license=('BSD')
+makedepends=('git')
+source=("git+https://github.com/antlr/antlr3.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd antlr3/runtime/C
+  cat <<EOF> antlr3config.h.in
+#include <stdint.h>
+#include <stdarg.h>
+#include <stdlib.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
+#include <sys/stat.h>
+#include <sys/socket.h>
+#include <antlr3defs.h>
+EOF
+  aclocal
+  libtoolize
+  automake --add-missing
+  autoconf
+}
+
+build() {
+  cd antlr3/runtime/C
+
+  ./configure --prefix=/usr --enable-64bit --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd antlr3/runtime/C
+
+  DESTDIR="$pkgdir" make install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: antlr3.org
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list