summaryrefslogtreecommitdiff
path: root/core/logrotate/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /core/logrotate/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'core/logrotate/PKGBUILD')
-rw-r--r--core/logrotate/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/logrotate/PKGBUILD b/core/logrotate/PKGBUILD
index 44771a6c9..e4e360c9c 100644
--- a/core/logrotate/PKGBUILD
+++ b/core/logrotate/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 184326 2013-05-06 09:32:38Z pierre $
+# $Id: PKGBUILD 185626 2013-05-16 13:54:50Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=logrotate
pkgver=3.8.4
-pkgrel=1
+pkgrel=2
pkgdesc="Rotates system logs automatically"
arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/logrotate/"
@@ -21,7 +21,7 @@ md5sums=('7be7f1eabea33a1d0483438a6e33d634'
'cd76976b5ce37d328b452c806b55a015'
'e76526bcd6fc33c9d921e1cb1eff1ffb'
'86209d257c8b8bc0ae34d6f6ef057c0f'
- 'aa8ac8283908b6114483a293adcb650f')
+ '3909380f8a55fa160f62ed976a8bef4b')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
@@ -40,7 +40,9 @@ check() {
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make PREFIX="$pkgdir" MANDIR="/usr/share/man" install
+ mv ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
+ install -dm755 "$pkgdir/etc/logrotate.d"
install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf"
install -Dm744 "$srcdir/logrotate.cron.daily" "$pkgdir/etc/cron.daily/logrotate"
}