summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1dbe5f1c2f3..27970554588 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = gopherus-svn
pkgdesc = Gopher client
- pkgver = 1.1.r48
+ pkgver = 1.1.r123
pkgrel = 1
url = http://gopherus.sourceforge.net
arch = i686
arch = x86_64
- license = GPL3
+ license = BSD
makedepends = subversion
depends = ncurses
optdepends = sdl2
diff --git a/PKGBUILD b/PKGBUILD
index 2ef66f8c38e..29059893574 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,16 @@
-# Maintainer: Christoph J. Thompson <thompsonc at protonmail dot ch>
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
_pkgname=gopherus
_pkgver=1.1
pkgname=$_pkgname-svn
-pkgver=1.1.r48
+pkgver=1.1.r123
pkgrel=1
pkgdesc="Gopher client"
arch=('i686' 'x86_64')
url="http://gopherus.sourceforge.net"
-license=('GPL3')
+license=('BSD')
depends=('ncurses')
optdepends=('sdl2')
makedepends=('subversion')
@@ -27,9 +29,7 @@ pkgver() {
build() {
cd "${_pkgname}/trunk"
- sed -i '/upx --best --lzma/d' Makefile.lin
make -f Makefile.lin CFLAGS="${CFLAGS}"
- make -f Makefile.lin gopherus-sdl CFLAGS="${CFLAGS}"
}
package() {
@@ -42,6 +42,12 @@ package() {
install -m644 gopherus.txt history.txt \
"${pkgdir}/usr/share/doc/${_pkgname}"
+ install -dm755 "${pkgdir}/usr/share/licenses/${_pkgname}"
+ (
+ cd "${pkgdir}/usr/share/licenses/${_pkgname}"
+ ln -s /usr/share/doc/${_pkgname}/gopherus.txt LICENSE
+ )
+
install -Dm644 icon.svg \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg"