git » log4cplus.git » main » tree

[main] / PKGBUILD

# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: Alexey Galakhov <agalakhov at gmail dot com>
# Contributor: Andreas Baumann <abaumann at yahoo dot com>

pkgname=log4cplus
pkgver=2.1.0
pkgrel=1
pkgdesc="A C++ logger very close to Java's log4j"
arch=('x86_64' 'armv7h')
url="http://log4cplus.sourceforge.net/"
license=('GPL')
depends=('gcc-libs')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('a0dc2cad2f10042ea561075adb7adcde5aedae4e4a3bf707fba4b619961e4e4c126410e1ecc003213a07e03d2576f1825444f76a26b7964b5656efb5dfc50637')

build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr \
    --with-working-locale

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make install DESTDIR="${pkgdir}"
}