~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH v2] community/gmnitohtml: new aport

Details
Message ID
<20210524131459.10896-1-contact@stacyharper.net>
DKIM signature
missing
Download raw message
Patch: +29 -0
https://git.sr.ht/~adnano/gmnitohtml
Gemini text to HTML converter
testing/

Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
 community/gmnitohtml/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 community/gmnitohtml/APKBUILD

Sorry I sent a mistake with the documentation part. Fixed !

diff --git a/community/gmnitohtml/APKBUILD b/community/gmnitohtml/APKBUILD
new file mode 100644
index 0000000000..61611fd677
--- /dev/null
+++ b/community/gmnitohtml/APKBUILD
@@ -0,0 +1,29 @@
# Contributor: Stacy Harper <contact@stacyharper.net>
# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=gmnitohtml
pkgver=0.1.0
pkgrel=0
pkgdesc="Gemini text to HTML converter"
url="https://git.sr.ht/~adnano/gmnitohtml"
arch="all"
license="GPL-3.0-only"
makedepends="go scdoc"
subpackages="$pkgname-doc"
builddir="$srcdir"/$pkgname-$pkgver
options="!check"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~adnano/gmnitohtml/archive/$pkgver.tar.gz
	"

build() {
	go build -v -o bin/$pkgname --tags extended
	make gmnitohtml.1
}

package() {
	install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
	install -Dm644 "$builddir"/*.1 -t "$pkgdir"/usr/share/man/man1
}
sha512sums="
deacc56784dbd7cbcf41ecdab294d089b6ef1fd3a8a6ba9843295106b7151fcad59b1ca4deedb3669ec85204bbe798c0f7ec3a17fec5d68eceec11691a57abbc  gmnitohtml-0.1.0.tar.gz
"
-- 
2.31.1
Details
Message ID
<162230859072.9578.12887623402341898689.gitlab.21708.853db4bdb10a8a429e8c7ba9744eaa861219fab7@listserv.local>
In-Reply-To
<20210524131459.10896-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
On Mon, 24 May 2021 15:14:59 +0200, Stacy Harper wrote:
> +subpackages="$pkgname-doc"
> +builddir="$srcdir"/$pkgname-$pkgver
> +options="!check"

please add a comment on why this is necessary

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21708#note_160301
Details
Message ID
<162230859171.9578.13643704898475733295.gitlab.21708.6359e54722fd64ceb25ff355ce1b2df0a705305e@listserv.local>
In-Reply-To
<20210524131459.10896-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
On Mon, 24 May 2021 15:14:59 +0200, Stacy Harper wrote:
> +makedepends="go scdoc"
> +subpackages="$pkgname-doc"
> +builddir="$srcdir"/$pkgname-$pkgver

we generally put this at the end of the `variable declaration` block , in this case you can remove the variable entirely as the value you put is the default value

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21708#note_160302
Details
Message ID
<162257844854.9578.4324234667616228740.gitlab.21708.0a6212e46fb6e010e9ad32b3c386ce09580a52bf@listserv.local>
In-Reply-To
<20210524131459.10896-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
Closing since emails can't get revisions, feel free to send a v3, that should open a new MR.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21708#note_160822
Reply to thread Export thread (mbox)