aboutsummaryrefslogtreecommitdiffstats
path: root/testing/diction/APKBUILD
blob: fa60a718c8c21ec8a595cfca55f52bcb2b068a17 (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
40
41
42
43
44
45
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=diction
pkgver=1.11
pkgrel=1
pkgdesc="Style checkers for improving your writing"
url="https://www.gnu.org/software/diction/diction.html"
arch="all"
license="GPL-3.0-or-later"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="f8be4c388c2659e91ba2dcfd5e3680aee0771b9b9a8c91a8877f6f61d5c014572c96ebf8e9cacbfa2afe2502e10957de9dd065245278cabeab13e28281404fb9  diction-1.11.tar.gz"