[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Mar 23 20:21:50 UTC 2016


    Date: Wednesday, March 23, 2016 @ 21:21:49
  Author: svenstaro
Revision: 168141

Move log4cplus from AUR as a dep of openvdb

Added:
  log4cplus/
  log4cplus/repos/
  log4cplus/trunk/
  log4cplus/trunk/PKGBUILD

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

Added: log4cplus/trunk/PKGBUILD
===================================================================
--- log4cplus/trunk/PKGBUILD	                        (rev 0)
+++ log4cplus/trunk/PKGBUILD	2016-03-23 20:21:49 UTC (rev 168141)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Alexey Galakhov <agalakhov at gmail dot com>
+# Contributor: Andreas Baumann <abaumann at yahoo dot com>
+
+pkgname=log4cplus
+_origver=1.2.0
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A C++ logger very close to Java's log4j"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://log4cplus.sourceforge.net/"
+license=('GPL')
+depends=('gcc-libs')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_origver}.tar.xz")
+sha256sums=('93aa5b26425f0b1596c5e5b3d58916988fdd83b359a02ca59878eb5c7c2ec6c2')
+
+build() {
+  cd ${srcdir}/${pkgname}-${_origver}
+
+  ./configure \
+    --prefix=/usr \
+    --with-working-locale
+
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${_origver}
+
+  make install DESTDIR=$pkgdir
+}



More information about the arch-commits mailing list