diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-08-19 03:38:17 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-08-19 03:38:17 +0000 |
commit | cb6f083b369ee59de217c0504d471124d533325d (patch) | |
tree | 28e404754d754f3a852831d2b649010f70695e01 /user/mythes | |
parent | 7ef2ed32d3d4442463f39d31380cff9432608231 (diff) | |
parent | c5975fc819d7b79180a3627a87974da9d18685e3 (diff) | |
download | packages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2 packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz packages-cb6f083b369ee59de217c0504d471124d533325d.zip |
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies
I have made a deal with Satan.
See merge request !44
Diffstat (limited to 'user/mythes')
-rw-r--r-- | user/mythes/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/user/mythes/APKBUILD b/user/mythes/APKBUILD new file mode 100644 index 000000000..6346e7cb9 --- /dev/null +++ b/user/mythes/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=mythes +pkgver=1.2.4 +pkgrel=1 +pkgdesc="A simple thesaurus" +url="http://hunspell.github.io/" +arch="all" +options="!check" # No test suite. +license="Custom" +subpackages="$pkgname-dev" +depends_dev="perl hunspell-dev" +makedepends="$depends_dev" +source="http://downloads.sourceforge.net/hunspell/$pkgname-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static \ + --disable-dependency-tracking \ + --enable-fast-install + make +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +dev() { + default_dev + + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="a04da39812bcfb1391a2cba7de73e955eafe141679ec03ed6657d03bebf360b432480d0037dff9ed72a1dfda5a70d77d44ac2bb14cdb109fd8e2a38376feee21 mythes-1.2.4.tar.gz" |