diff options
Diffstat (limited to 'main')
-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 |