summaryrefslogtreecommitdiff
path: root/geomyidae-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'geomyidae-git/PKGBUILD')
-rw-r--r--geomyidae-git/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/geomyidae-git/PKGBUILD b/geomyidae-git/PKGBUILD
index 3064e37..6e043b9 100644
--- a/geomyidae-git/PKGBUILD
+++ b/geomyidae-git/PKGBUILD
@@ -4,28 +4,31 @@
_pkgname=geomyidae
pkgname=${_pkgname}-git
-pkgver=0.242.4f4128c
+pkgver=0.293.1c649c8
pkgrel=1
pkgdesc="A gopher server daemon"
arch=('i686' 'x86_64')
url="http://r-36.net/scm/geomyidae"
license=('MIT')
+depends=('libressl')
makedepends=('git')
conflicts=('geomyidae')
provides=('geomyidae')
backup=("etc/conf.d/${_pkgname}")
source=("git://r-36.net/${_pkgname}"
'service'
- 'confd'
+ 'confd'
'sysusers'
'geomyidae-chroot.patch'
- 'geomyidae-journald.patch')
+ 'geomyidae-journald.patch'
+ 'geomyidae-libressl.patch')
sha256sums=('SKIP'
- '2e26b4fce0590d68b27c0d70b7d5302ac4c14f9888d52020efc372bc327d6f6b'
+ '484c45b6fd6534e959d7d1786ebada94f96e772060702cb3002dc7664fc33f91'
'd8a791643036d8cfccd7ffd64df7a99f2da5a3b3306d32b59a625c0285c1b9a1'
'816de9b6211254663c0e2bbce039f869b1efc4b8fdce8bd4fdb676e8a722cce4'
'813ca5000327453e91259119805474e78d0d31e81404a823cf47171cca1cb76f'
- 'caa4378e7b64790d0eeb77682749e81684124065bac826f4b0905c7905bcded5')
+ 'caa4378e7b64790d0eeb77682749e81684124065bac826f4b0905c7905bcded5'
+ '19605684acf29fd058663850b15ae81da82a950e238448cb99cf0a1ac0c11d30')
pkgver() {
cd "${_pkgname}"
@@ -35,6 +38,9 @@ pkgver() {
prepare() {
cd "${_pkgname}"
+ # Fix libressl paths
+ patch -p1 -i ../geomyidae-libressl.patch
+
# Fix chroot
patch -p1 -i ../geomyidae-chroot.patch
@@ -46,14 +52,14 @@ prepare() {
# Install to /usr
sed -i 's|/usr/local|/usr|g' Makefile
-
- # Use Arch Linux standard CFLAGS
- sed -i 's|CFLAGS = -O2 -Wall|CFLAGS = $(FLAGS)|g' Makefile
+
+ # No /usr/sbin on Arch
+ sed -i 's|BINDIR = ${PREFIX}/sbin|BINDIR = ${PREFIX}/bin|g' Makefile
}
build() {
cd "${_pkgname}"
- make FLAGS="${CFLAGS}"
+ make CFLAGS="${CFLAGS}"
}
package() {
@@ -74,7 +80,7 @@ package() {
install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
- install -m644 README CGI LINKS index.gph \
+ install -m644 README CGI.md LINKS index.gph \
"${pkgdir}/usr/share/doc/${_pkgname}/"
install -dm755 "${pkgdir}"/usr/share/vim/vimfiles/{ftdetect,syntax}