aboutsummaryrefslogtreecommitdiffstats
path: root/testing/w_scan2/APKBUILD
blob: a68cd9c2eb6baea4807e54ce3120df867325bea9 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=w_scan2
pkgver=1.0.12
pkgrel=0
pkgdesc="Universal ATSC and DVB blind scanner"
url="https://github.com/stefantalpalaru/w_scan2"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
replaces="w_scan"
makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/stefantalpalaru/w_scan2/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure \
		--prefix=/usr
	make
}

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

sha512sums="f5cd04ab211a498ab06e7ba2e6c1403dc9d4252a02db6aec1ec88ccb11faf2f12f32b91891b2d819072c4b57ce6cfa0d65ebcaee2f49e3a867847309eb7db8d2  w_scan2-1.0.12.tar.gz"