Subject: [PATCH] testing/lyx: new aport

From: Eloi Torrents <[email-masked]>
Date: Mon, 16 May 2022 19:15:38 +0200

---
 testing/lyx/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/lyx/APKBUILD

diff --git a/testing/lyx/APKBUILD b/testing/lyx/APKBUILD
new file mode 100644
index 0000000000..8cf583f2ef
--- /dev/null
+++ b/testing/lyx/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Eloi Torrents <[email-masked]>
+# Maintainer: Eloi Torrents <[email-masked]>
+pkgname=lyx
+pkgver=2.3.6.1
+pkgrel=0
+pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
+url="https://www.lyx.org"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="
+	qt5-qtbase-dev
+	file-dev
+	boost-dev
+	mythes-dev
+	enchant2-dev
+	qt5-qtsvg-dev
+	"
+depends="
+	python3
+	imagemagick
+	"
+subpackages="$pkgname-doc"
+source="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-qt5 --without-included-boost \
+		--without-included-mythes
+	make
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+b2f24d32c3716144fc19a5187d59dce86c718e9180b3b33826a04477c5deeed8238c31e0569b8c218164726ab10b66c76c22dc7e0610ca18a7b7e651a3525cbd  lyx-2.3.6.1.tar.gz
+"
-- 
2.35.3