summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeposite Pirate2019-03-01 10:02:07 +0100
committerDeposite Pirate2019-03-01 10:02:07 +0100
commit09b731793465788174f2d83f900634e2cf2951c7 (patch)
treef10b9b2fb07ea75f3c87c9c1d6a4bac094a0197c
parentf5af42cc4ff1b46f90eadde36d42eb5b54afccd6 (diff)
* Update gopherus.
modified: gopherus-svn/.SRCINFO modified: gopherus-svn/PKGBUILD modified: gopherus/.SRCINFO modified: gopherus/PKGBUILD
-rw-r--r--gopherus-svn/.SRCINFO4
-rw-r--r--gopherus-svn/PKGBUILD12
-rw-r--r--gopherus/.SRCINFO10
-rw-r--r--gopherus/PKGBUILD19
4 files changed, 26 insertions, 19 deletions
diff --git a/gopherus-svn/.SRCINFO b/gopherus-svn/.SRCINFO
index 1dbe5f1..2797055 100644
--- a/gopherus-svn/.SRCINFO
+++ b/gopherus-svn/.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/gopherus-svn/PKGBUILD b/gopherus-svn/PKGBUILD
index ae592b0..2905989 100644
--- a/gopherus-svn/PKGBUILD
+++ b/gopherus-svn/PKGBUILD
@@ -5,12 +5,12 @@
_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')
@@ -29,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() {
@@ -44,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"
diff --git a/gopherus/.SRCINFO b/gopherus/.SRCINFO
index e97ad7e..d6ac67d 100644
--- a/gopherus/.SRCINFO
+++ b/gopherus/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = gopherus
pkgdesc = Gopher client
- pkgver = 1.0c
- pkgrel = 3
+ pkgver = 1.1
+ pkgrel = 1
url = http://gopherus.sourceforge.net
arch = i686
arch = x86_64
- license = GPL3
+ license = BSD
depends = ncurses
optdepends = sdl2
- source = http://downloads.sourceforge.net/project/gopherus/v1.0c/gopherus-1.0c.tar.gz
+ source = http://downloads.sourceforge.net/project/gopherus/v1.1/gopherus-1.1.tar.xz
source = gopherus.desktop
- sha256sums = 84f5192659658bb57f6d77609654e74f9e96f7596c0e3ae10e707877d1cebaf4
+ sha256sums = ad69c9ba0d7ca568038bc0cf04e48847b61d39b766a4b937a3230ffcd7727331
sha256sums = b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21
pkgname = gopherus
diff --git a/gopherus/PKGBUILD b/gopherus/PKGBUILD
index 505fc91..385c87f 100644
--- a/gopherus/PKGBUILD
+++ b/gopherus/PKGBUILD
@@ -3,24 +3,22 @@
# Upstream: https://git.metalpunks.info/arch-ports
pkgname=gopherus
-pkgver=1.0c
-pkgrel=3
+pkgver=1.1
+pkgrel=1
pkgdesc="Gopher client"
arch=('i686' 'x86_64')
url="http://gopherus.sourceforge.net"
-license=('GPL3')
+license=('BSD')
depends=('ncurses')
optdepends=('sdl2')
-source=(http://downloads.sourceforge.net/project/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+source=(http://downloads.sourceforge.net/project/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.xz
gopherus.desktop)
-sha256sums=('84f5192659658bb57f6d77609654e74f9e96f7596c0e3ae10e707877d1cebaf4'
+sha256sums=('ad69c9ba0d7ca568038bc0cf04e48847b61d39b766a4b937a3230ffcd7727331'
'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21')
build() {
cd "${pkgname}-${pkgver}"
- sed -i '/upx --best --lzma/d' Makefile.lin
make -f Makefile.lin CFLAGS="${CFLAGS}"
- make -f Makefile.lin gopherus-sdl CFLAGS="${CFLAGS}"
}
package() {
@@ -33,10 +31,15 @@ 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"
install -Dm644 "${srcdir}/gopherus.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
-