summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 29059893574..fa65ff5633f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
# Upstream: https://git.metalpunks.info/arch-ports
_pkgname=gopherus
-_pkgver=1.1
+_pkgver=1.2
pkgname=$_pkgname-svn
-pkgver=1.1.r123
+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() {