diff options
-rw-r--r-- | pcr/log4c/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/pcr/log4c/PKGBUILD b/pcr/log4c/PKGBUILD index 3fcd1ee30..b351eb717 100644 --- a/pcr/log4c/PKGBUILD +++ b/pcr/log4c/PKGBUILD @@ -1,22 +1,28 @@ +# Contributor (Arch): Arthur Țițeică arthur.titeica/gmail/com # Contributor (Arch): rockerzz <rockerzz@gmail.com> -# +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> + pkgname=log4c -pkgver=1.2.1 +pkgver=1.2.4 pkgrel=1 pkgdesc="Logging FrameWork for C, as Log4j or Log4Cpp" url="http://log4c.sourceforge.net/" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') license="LGPL" -depends=('gcc-libs') -makedepends=( 'bash' 'make' 'gcc' ) +depends=('expat') source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('ca5412b7515d8901714ab7892323adb6') +sha256sums=('5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea') options=('!libtool') build() { - cd $startdir/src/log4c-$pkgver - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --sysconfdir=/etc/log4c + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install } |