summaryrefslogtreecommitdiff
path: root/community/rlog/PKGBUILD
blob: 95e7e58ad4c9b3fa02c6b33a5dc1b57b25c0b46e (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
# $Id: PKGBUILD 99979 2013-10-31 02:48:38Z allan $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Sven Kauber <celeon@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=rlog
pkgver=1.4
pkgrel=4
pkgdesc="A flexible message logging facility for C++ programs and libraries"
arch=('i686' 'x86_64')
url="http://www.arg0.net/rlog"
license=('LGPL')
depends=('gcc-libs')
source=(http://rlog.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
	${pkgname}-section.patch)
md5sums=('c29f74e0f50d66b20312d049b683ff82'
         '69644989e07ceb5c265dfc0c6f770810')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -Np1 -i "${srcdir}/${pkgname}-section.patch"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}/" install
}