summaryrefslogtreecommitdiff
path: root/community/rlog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
commita712dc92423a31a4d3ab34fe660df550feebf442 (patch)
treead93851f4343f00cec2f901e4839da01a8b77efe /community/rlog
parentb3a841a1f66eff75be29fba090b83ce4322d4721 (diff)
Tue Sep 13 23:14:39 UTC 2011
Diffstat (limited to 'community/rlog')
-rw-r--r--community/rlog/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/community/rlog/PKGBUILD b/community/rlog/PKGBUILD
index 5479d9d03..48bf0832c 100644
--- a/community/rlog/PKGBUILD
+++ b/community/rlog/PKGBUILD
@@ -1,25 +1,30 @@
+# $Id: PKGBUILD 55453 2011-09-12 23:51:53Z ebelanger $
# 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=3
+pkgrel=4
pkgdesc="A flexible message logging facility for C++ programs and libraries"
arch=('i686' 'x86_64')
-url="http://arg0.net/wiki/rlog"
+url="http://www.arg0.net/rlog"
license=('LGPL')
depends=('gcc-libs')
options=('!libtool')
-source=(http://rlog.googlecode.com/files/$pkgname-$pkgver.tar.gz \
- $pkgname-section.patch)
+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 || return 1
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir/ install
+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
}