summaryrefslogtreecommitdiff
path: root/gopherus-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gopherus-svn/PKGBUILD')
-rw-r--r--gopherus-svn/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
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"