Commit a3041b9c authored by Natanael Copa's avatar Natanael Copa

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

fixes #315
parent 8fc1f8d8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment