diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-10 19:39:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-10 19:39:01 +0000 |
commit | a3041b9cb7ed70bb5894ef4d909d7bd7781fa691 (patch) | |
tree | 0f09caa5e6c3a6ce4c564394bd8b7f4032c7b1a6 /main/logrotate/APKBUILD | |
parent | 8fc1f8d83a8e57334ce8feba1e4a7d4d6227d74f (diff) | |
download | aports-a3041b9cb7ed70bb5894ef4d909d7bd7781fa691.tar.bz2 aports-a3041b9cb7ed70bb5894ef4d909d7bd7781fa691.tar.xz |
main/logrotate: include the /etc/logrotate.d dir
fixes #315
Diffstat (limited to 'main/logrotate/APKBUILD')
-rw-r--r-- | main/logrotate/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/logrotate/APKBUILD b/main/logrotate/APKBUILD index 6881d4c224..5eee0d551f 100644 --- a/main/logrotate/APKBUILD +++ b/main/logrotate/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=logrotate pkgver=3.7.8 -pkgrel=1 +pkgrel=2 pkgdesc="Tool to rotate logfiles" url="https://fedorahosted.org/logrotate/" license="GPL" @@ -14,8 +14,12 @@ source="https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.7.8.tar.gz build() { cd "$srcdir/$pkgname-$pkgver" - make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -d "$pkgdir"/etc/logrotate.d install -Dm755 logrotate "$pkgdir"/usr/sbin/logrotate install -Dm644 logrotate.8 "$pkgdir"/usr/share/man/man8/logrotate.8 install -Dm644 ../logrotate.conf "$pkgdir"/etc/logrotate.conf |