summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 236948bab7ce768d3821f75c54a1604e096ae5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Ethan Zonca <e@ethanzonca.com>
pkgname=cronolog-git
_pkgname=cronolog
pkgver=1.6.3
pkgrel=1
pkgdesc="A log rotation utility"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/WayneD/cronolog"
license=('GPL2')
source=("git+https://github.com/WayneD/cronolog.git")
md5sums=('SKIP')

prepare() {
	cd "$_pkgname"
	aclocal
	autoconf
	automake --add-missing
}

build() {
	cd "$_pkgname"
	./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
	make
}

check() {
	cd "$_pkgname"
	make -k check
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir/" install
}