summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-07-30 00:14:47 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-30 00:25:22 -0400
commitfd1865dea4dd22de6c66bd60227391e9dd8187ba (patch)
tree7748b8536de267a92a8dc74dec2d7762218ac433 /pcr
parent453eeb6dd267d77f94803820ff8f2af829d15a55 (diff)
downloadabslibre-fd1865dea4dd22de6c66bd60227391e9dd8187ba.tar.gz
abslibre-fd1865dea4dd22de6c66bd60227391e9dd8187ba.tar.bz2
abslibre-fd1865dea4dd22de6c66bd60227391e9dd8187ba.zip
[lagrange]: add package
Diffstat (limited to 'pcr')
-rw-r--r--pcr/lagrange/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/pcr/lagrange/PKGBUILD b/pcr/lagrange/PKGBUILD
new file mode 100644
index 000000000..bff16f0b8
--- /dev/null
+++ b/pcr/lagrange/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer (aur): Roshless <pkg@roshless.com>
+# Maintainer: Iván Ávalos <avalos@disroot.org>
+
+pkgname=lagrange
+pkgrel=1
+pkgver=1.6.0
+pkgdesc="Beautiful Gemini Client"
+url="https://gmi.skyjake.fi/lagrange/"
+arch=('x86_64' 'i686' 'aarch64' 'armv7h')
+license=("BSD2")
+source=(
+ "https://git.skyjake.fi/skyjake/$pkgname/releases/download/v$pkgver/lagrange-$pkgver.tar.gz"
+)
+depends=(
+ "fribidi"
+ "harfbuzz"
+ "hicolor-icon-theme"
+ "libunistring"
+ "openssl"
+ "pcre"
+ "sdl2"
+)
+optdepends=("mpg123")
+makedepends=("cmake")
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ # delete vendored libs - use system libs instead
+ rm -rf lib/fribidi/
+ rm -rf lib/harfbuzz/
+}
+
+build() {
+ cmake -B build -S "$pkgname-${pkgver}" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DENABLE_KERNING=OFF \
+ -DTFDN_ENABLE_WARN_ERROR=OFF \
+ -DENABLE_FRIBIDI_BUILD=OFF \
+ -DENABLE_HARFBUZZ_MINIMAL=OFF \
+ -Wno-dev
+ make -C build
+}
+
+package() {
+ install -Dm644 $pkgname-$pkgver/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+sha256sums=('9b131083f41e5e64221fc63cd342ed30034b90d439ee169edb4a1f0dbf8ea480')