main/logrotate: include the /etc/logrotate.d dir

fixes #315
This commit is contained in:
Natanael Copa 2010-03-10 19:39:01 +00:00
parent 8fc1f8d83a
commit a3041b9cb7

View File

@ -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