Hello,
In case this is irrelevant you can ignore it.
I found geomyidae, a small C-based gopherd that is MIT-licensed.

I'm sorry, I forgot to attach the patch in the previous email.

-- 
Kind Regards,
Wael Karram.


From 410680a8879133ee68544b7bf30e2c29eb8831cc Mon Sep 17 00:00:00 2001
From: wael <[email protected]>
Date: Thu, 12 Jan 2023 11:34:33 +0200
Subject: [PATCH] Package geomyidae

---
 pcr/geomyidae/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 pcr/geomyidae/PKGBUILD

diff --git a/pcr/geomyidae/PKGBUILD b/pcr/geomyidae/PKGBUILD
new file mode 100644
index 0000000000..18329fa664
--- /dev/null
+++ b/pcr/geomyidae/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer (AUR): Andrés J. Díaz <[email protected]>
+# Maintainer (Parabola): Wael Karram <[email protected]>
+
+# Parabola changes and rationale:
+# Fix license install path.
+
+pkgname=geomyidae
+pkgver=0.69
+pkgrel=1
+pkgdesc='Small C-based gopherd'
+arch=('x86_64')
+url='https://gopher.floodgap.com/gopher/gw?gopher://bitreich.org:70/1/scm/geomyidae/file/README.gph'
+license=('MIT')
+depends=( 'libretls>=3.5.2' )
+backup=('var/gopher/CGI'
+        'var/gopher/index.gph')
+source=("ftp://bitreich.org/releases/${pkgname}/${pkgname}-v${pkgver}.tar.lz";)
+b2sums=(
+  'c52dc2ad1460037bb6248796dc315cf3c67eab9f229ae8f4e15e50511d441ba6c71ba81280486207211b9cde01b3db627c968a2eabe745cef36c63069e8cb7f5'
+)
+
+build() {
+  make -C "${pkgname}-v${pkgver}"
+}
+
+package() {
+  cd "${pkgname}-v${pkgver}"
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+  install -Dm644 -t "${pkgdir}/var/gopher" index.gph
+  install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" {LINKS,README}
+  install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/rc.d" 'rc.d/'*
+  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
+}
-- 
2.39.0

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to