summaryrefslogtreecommitdiff
path: root/gopherus-svn/PKGBUILD
diff options
context:
space:
mode:
authorDeposite Pirate2020-01-24 15:13:38 +0100
committerDeposite Pirate2020-01-24 15:13:38 +0100
commit53a778480adf1b367f74e3421c782c991416cb40 (patch)
tree3fecd7827348bb7093a72008d527bfe4f35b5e95 /gopherus-svn/PKGBUILD
parent26a13e2df96d99711a10fcfe822f6b24fbacee3f (diff)
* Update gopherus-svn
modified: gopherus-svn/.SRCINFO modified: gopherus-svn/PKGBUILD new file: gopherus-svn/gopherus-1.2-ncheader.patch
Diffstat (limited to 'gopherus-svn/PKGBUILD')
-rw-r--r--gopherus-svn/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/gopherus-svn/PKGBUILD b/gopherus-svn/PKGBUILD
index d1806b4..fa65ff5 100644
--- a/gopherus-svn/PKGBUILD
+++ b/gopherus-svn/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=gopherus
_pkgver=1.2
pkgname=$_pkgname-svn
-pkgver=1.2.r181
+pkgver=1.2.r221
pkgrel=1
pkgdesc="Gopher client"
arch=('i686' 'x86_64')
@@ -16,9 +16,11 @@ optdepends=('sdl2')
makedepends=('subversion')
conflicts=('gopherus')
provides=('gopherus')
-source=("$_pkgname::svn://svn.code.sf.net/p/gopherus/code"
- 'gopherus.desktop')
+source=(${_pkgname}::svn://svn.code.sf.net/p/gopherus/code
+ gopherus-1.2-ncheader.patch
+ gopherus.desktop)
sha256sums=('SKIP'
+ '9637df8df7dfa15232b5898170b1d1d0a485628d77c2a40150db914c4fb2b866'
'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21')
pkgver() {
@@ -27,9 +29,16 @@ pkgver() {
printf "${_pkgver}.r%s" "${ver//[[:alpha:]]}"
}
+prepare() {
+ cd "${_pkgname}/trunk"
+
+ # Fix curses header location
+ patch -p1 -i ../../gopherus-1.2-ncheader.patch
+}
+
build() {
cd "${_pkgname}/trunk"
- make -f Makefile.lin CFLAGS="${CFLAGS}"
+ make -f Makefile.lin CFLAGS="${CFLAGS}" gopherus gopherus-sdl
}
package() {