summaryrefslogtreecommitdiff
path: root/pcr-testing/gophernicus/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-07-22 22:28:59 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-07-22 22:28:59 -0400
commite1f1521e6272a22f2c094e4ddbfc218a9ca3bdcf (patch)
treeb858b9783fe0a4ae01ab2502821307b6da132ff7 /pcr-testing/gophernicus/PKGBUILD
parent3e55a3c261b74f956329dec4834eae2a98b3c005 (diff)
downloadabslibre-e1f1521e6272a22f2c094e4ddbfc218a9ca3bdcf.tar.gz
abslibre-e1f1521e6272a22f2c094e4ddbfc218a9ca3bdcf.tar.bz2
abslibre-e1f1521e6272a22f2c094e4ddbfc218a9ca3bdcf.zip
[gophernicus]: move to [pcr]
Diffstat (limited to 'pcr-testing/gophernicus/PKGBUILD')
-rw-r--r--pcr-testing/gophernicus/PKGBUILD65
1 files changed, 0 insertions, 65 deletions
diff --git a/pcr-testing/gophernicus/PKGBUILD b/pcr-testing/gophernicus/PKGBUILD
deleted file mode 100644
index d01c74125..000000000
--- a/pcr-testing/gophernicus/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# Maintainer: botplus <oneofvalts@sdf.org>
-# Contributor: bill-auger <bill-auger@programmer.net>
-
-
-pkgname=gophernicus
-pkgver=3.1.1
-pkgrel=2
-pkgdesc="Modern, full-featured (and hopefully) secure gopher daemon"
-arch=('armv7h' 'i686' 'x86_64')
-url="https://github.com/gophernicus/gophernicus"
-license=('BSD2')
-
-backup=(etc/xinetd.d/gophernicus
- srv/gopher/gophermap)
-install=${pkgname}.install
-
-depends=('libwrap' 'xinetd')
-optdepends=("xinetd-openrc: openrc init-script")
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gophernicus/gophernicus/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz
- xinetd-respect-custom-server-root.patch
- remove-DESTDIR-from-initscripts.patch
- fix-make-log-typo.patch
- preserve-existing-gophermap.patch)
-
-b2sums=('74610071fab7ee6defc7e128c92f8775d00c42e6b3e806993d9468676e904388bd54cb101f25dad0e281e67090cfdcaf21728eab7821fa1cbd9ea09201d93acb'
- 'da46d9010d3b7485aa092c3557c707473ac465451f7e09d32e52409bdefba0633900f198cb8aadc8a05e55274b70ef72cfc2bda4fe22b254c738aa078b0f8280'
- '575bf3480b79c5381f2d08c029e96ebb7eee224e19effe294b95feb1f11f8536a53c12b4850df1263b609a776de350acb0cc17783547b841a631aa7643b3f468'
- '56fedcb3d687b935a4d6d254f511b7fc9c2171190ec4eb00724fab82c93c424c2c373a8881818daba55bee9a381213b45c9a79fde13419a5f817a7bfd065f60c'
- 'd6bc23c85168e235430eaf3c70edb62c2ee729c891aab15492b637d43fa752310a7f67cc9c194b3d174d46a6ce8a692bb685178874b8ea01086b12a4746f6fb4')
-
-
-prepare()
-{
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- # allow server root under /srv/ with xinetd
- patch -Np1 < "${srcdir}"/xinetd-respect-custom-server-root.patch
-
- # remove DESTDIR path from installed init scripts
- patch -Np1 < "${srcdir}"/remove-DESTDIR-from-initscripts.patch
-
- # fix typo in make log (does not affect the binary package)
- patch -Np1 < "${srcdir}"/fix-make-log-typo.patch
-
- # fix think-o in ./configure (does not affect the binary package)
- patch -Np1 < "${srcdir}"/preserve-existing-gophermap.patch
-}
-
-build()
-{
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr \
- --sbindir=/usr/bin \
- --listener=xinetd \
- --gopherroot=/srv/gopher
- make
-}
-
-package()
-{
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-}