~roshless/public-inbox

Bump Lagrange to 1.1.0 v1 APPLIED

Luna Nieves: 1
 Bump Lagrange to 1.1.0

 2 files changed, 12 insertions(+), 11 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.roshless.me/~roshless/public-inbox/patches/16/mbox | git am -3
Learn more about email & git

[PATCH] Bump Lagrange to 1.1.0 Export this patch

Changes done to package along with reasoning:

* Change "arch" to just the x86 ones: It's not architecture-independent,
and the instructions to compile on a Raspberry Pi are different enough
that adding ARM archs wouldn't work.
* Change build type to "Release": Building package with 'None' kept
giving warning about binary referencing `$srcdir`.
* Remove 'PREFIX' from package(): It was already set on build(), so it's
redundant.

---
I know there's already a patch in the inbox, but I wanted to clean up
the package a bit.  If the changes are fine but the other patch goes
through, I can send a patch with just those changes.

 lagrange/.SRCINFO | 11 ++++++-----
 lagrange/PKGBUILD | 12 ++++++------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/lagrange/.SRCINFO b/lagrange/.SRCINFO
index bbe62b7..b48e8da 100644
--- a/lagrange/.SRCINFO
+++ b/lagrange/.SRCINFO
@@ -1,9 +1,10 @@
pkgbase = lagrange
	pkgdesc = Beautiful Gemini Client
	pkgver = 1.0.3
	pkgrel = 2
	pkgver = 1.1.0
	pkgrel = 1
	url = https://git.skyjake.fi/skyjake/lagrange
	arch = any
	arch = x86_64
	arch = i686
	license = BSD
	makedepends = cmake
	depends = openssl
@@ -11,8 +12,8 @@ pkgbase = lagrange
	depends = libunistring
	depends = pcre
	optdepends = mpg123
	source = https://git.skyjake.fi/skyjake/lagrange/releases/download/v1.0.3/lagrange-1.0.3.tar.gz
	md5sums = 17fcd774f3b54c8275b1a1c0a3a850bf
	source = https://git.skyjake.fi/skyjake/lagrange/releases/download/v1.1.0/lagrange-1.1.0.tar.gz
	md5sums = 090a12a6d9350231c23d53ca3d928ad6

pkgname = lagrange

diff --git a/lagrange/PKGBUILD b/lagrange/PKGBUILD
index 65c7d46..6091dcb 100644
--- a/lagrange/PKGBUILD
+++ b/lagrange/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Roshless <pkg@roshless.com>

pkgname=lagrange
pkgrel=2
pkgver=1.0.3
pkgrel=1
pkgver=1.1.0
pkgdesc="Beautiful Gemini Client"
url="https://git.skyjake.fi/skyjake/lagrange"
arch=("any")
arch=('x86_64' 'i686')
license=("BSD")
source=(
    "https://git.skyjake.fi/skyjake/$pkgname/releases/download/v$pkgver/lagrange-$pkgver.tar.gz"
@@ -22,7 +22,7 @@ makedepends=("cmake")

build() {
    cmake -B build -S "$pkgname-${pkgver}" \
        -DCMAKE_BUILD_TYPE='None' \
        -DCMAKE_BUILD_TYPE='Release' \
        -DCMAKE_INSTALL_PREFIX='/usr' \
        -Wno-dev
    make -C build
@@ -32,7 +32,7 @@ package() {
    install -Dm644 $pkgname-$pkgver/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

    cd build
    make PREFIX="/usr" DESTDIR="$pkgdir" install
    make DESTDIR="$pkgdir" install
}

md5sums=('17fcd774f3b54c8275b1a1c0a3a850bf')
md5sums=('090a12a6d9350231c23d53ca3d928ad6')
-- 
2.30.0
Thanks!


To git.roshless.me:~roshless/PKGBUILDs
   bb8275a..992d071  master -> master

To aur:lagrange.git
   dea0d46..8644759  86447597494f063253b9440ca08ebe690ada8e37 -> master