blob: e84b9b5845a2e9321edd1366c1ce8370b88cc296 (
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: dreieck (https://aur.archlinux.org/account/dreieck)
# Contributor: xiretza
# Contributor: Arthur Țițeică
# Contributor: rockerzz
pkgname=log4c
pkgver=1.2.4
pkgrel=4
pkgdesc='Logging FrameWork for C, as Log4j or Log4Cpp'
url='http://log4c.sourceforge.net/'
arch=('i686' 'x86_64')
license=('LGPL')
depends=('expat')
source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"0001-Fix-compile-with-Werror-format-security.patch")
sha256sums=('5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea'
'f85bdfa6525739569ddb1c1f4bbf90de399dc3c95b24b964c8773fa89d17e47f')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 < "$srcdir/0001-Fix-compile-with-Werror-format-security.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc/log4c
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}
|