aboutsummaryrefslogtreecommitdiffstats
path: root/testing/diction/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-05-29 13:45:56 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-05-30 12:22:43 +0200
commitb146898f72867c80e0bcec288861d15577045315 (patch)
tree89366059ba0e6b22a14de2e66d9e71ce1051a8cd /testing/diction/APKBUILD
parentdb8439d4b6f543d986d3fa25c34716aed2e53451 (diff)
downloadaports-b146898f72867c80e0bcec288861d15577045315.tar.bz2
aports-b146898f72867c80e0bcec288861d15577045315.tar.xz
testing/diction: new aport
Diffstat (limited to 'testing/diction/APKBUILD')
-rw-r--r--testing/diction/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/diction/APKBUILD b/testing/diction/APKBUILD
new file mode 100644
index 0000000000..8994f1e090
--- /dev/null
+++ b/testing/diction/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=diction
+pkgver=1.11
+pkgrel=0
+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
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f8be4c388c2659e91ba2dcfd5e3680aee0771b9b9a8c91a8877f6f61d5c014572c96ebf8e9cacbfa2afe2502e10957de9dd065245278cabeab13e28281404fb9 diction-1.11.tar.gz"