summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a189a9ca58b4340cb2682143f7d2770112242b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Akkenoth <akkenoth+aur [at] google [dot] com>
pkgname=log4cxx-git
_pkgname=log4cxx
pkgver=20181214
pkgrel=1
pkgdesc="A C++ port of Log4j, development version (GIT)"
url="http://logging.apache.org/log4cxx"
license=("Apache")
groups=()
depends=('apr-util' 'libxml2')
arch=('i686' 'x86_64')
makedepends=('git' 'zip')
provides=('log4cxx')
conflicts=('log4cxx')
options=()
install=
source=("${_pkgname}::git+https://gitbox.apache.org/repos/asf/logging-log4cxx.git#commit=171e980fdd31e09e36841cf82adcebfa12bcd6d0")
md5sums=(SKIP)

build() {
  cd "${_pkgname}"
  ./autogen.sh
  ./configure --prefix=/usr --disable-static
  make
}

# Check fails ATM
#check() {
#  cd "${_pkgname}"
#  make -k check
#}

package() {
  cd "${_pkgname}"
  make DESTDIR="${pkgdir}/" install
}