aboutsummaryrefslogtreecommitdiffstats
path: root/community/lagrange/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lagrange/APKBUILD')
-rw-r--r--community/lagrange/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/lagrange/APKBUILD b/community/lagrange/APKBUILD
new file mode 100644
index 0000000000..a128229ed5
--- /dev/null
+++ b/community/lagrange/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=lagrange
+pkgver=1.5.2
+pkgrel=0
+pkgdesc="Beautiful Gemini client"
+url="https://gmi.skyjake.fi/lagrange"
+license="BSD-2-Clause"
+arch="all"
+options="!check" # no test suite
+makedepends="cmake zlib-dev pcre-dev openssl-dev sdl2-dev libunistring-dev mpg123-dev"
+source="https://git.skyjake.fi/gemini/lagrange/releases/download/v$pkgver/lagrange-$pkgver.tar.gz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="
+971d54d072799cc03bc2521571c74e3da996f390198c3a7e04ff8480040aa1ae96d1407dec68ecb02225ece14c0032304ad1c605b6619b4538d9078c8180f9d6 lagrange-1.5.2.tar.gz
+"