aboutsummaryrefslogtreecommitdiffstats
path: root/main/multisort/APKBUILD
blob: 357f9c5ee9122732be1cba67a933e3cd2e6337dc (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
35
36
37
38
39
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=multisort
pkgver=1.1
pkgrel=0
pkgdesc="Tool to merge multiple logfiles"
url="https://www.xach.com/multisort/"
arch="all"
license="GPL-2.0"
depends=
makedepends=""
install=""
source="http://www.xach.com/$pkgname/$pkgname-$pkgver.tar.gz
	multisort-syslog-support.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -d "$pkgdir/usr/bin/"
	install -s "$_builddir/multisort" "$pkgdir/usr/bin/"
}

sha512sums="346be785a223814086536bfc8aacb11122ca91cf6cb63c8bbe2ae70f323bd36812f25575114c1422c431f658328bbb7fc75b839e74b7f37c12c4a3f179e05e1b  multisort-1.1.tar.gz
2e9158ae9717245033bb389e99642991ee4d5b340f0228392bc0cc3cd6ab036dcccb1effd92bd8d4b96e5187901af64c49a07413b524fc17d3c504f99047bee4  multisort-syslog-support.patch"