Date: Tuesday, April 24, 2018 @ 00:27:02 Author: svenstaro Revision: 317471
archrelease: copy trunk to community-testing-x86_64 Added: log4cplus/repos/community-testing-x86_64/ log4cplus/repos/community-testing-x86_64/PKGBUILD (from rev 317470, log4cplus/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: log4cplus/repos/community-testing-x86_64/PKGBUILD (from rev 317470, log4cplus/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-04-24 00:27:02 UTC (rev 317471) @@ -0,0 +1,31 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Alexey Galakhov <agalakhov at gmail dot com> +# Contributor: Andreas Baumann <abaumann at yahoo dot com> + +pkgname=log4cplus +_origver=2.0.0 +pkgver=2.0.0 +pkgrel=1 +pkgdesc="A C++ logger very close to Java's log4j" +arch=('x86_64') +url="http://log4cplus.sourceforge.net/" +license=('GPL') +depends=('gcc-libs') +source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${_origver}.tar.xz") +sha512sums=('c9aad3fc52b58c6d7a658b306c4bd62e196de2d5076022f8da94bb1609053efefe7ef7b8192925af0a264d13e89d80ff5fa9f98ecd7ead49778dd534da3ec009') + +build() { + cd ${srcdir}/${pkgname}-${_origver} + + ./configure \ + --prefix=/usr \ + --with-working-locale + + make +} + +package() { + cd ${srcdir}/${pkgname}-${_origver} + + make install DESTDIR=$pkgdir +}