summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a1751fb46df791cae3c0d12e933679a8fdc2a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: FennecTECH <fennectech@gmail.com>
# Thank to
# Latif Khalifa for the radegast project
# Cinder Roxley For mantaining the project
# Chungy Nexen For the origional radegast aur package
# Robot Silvershade  For teaching me most of the things I know.
# Zach Ward & Beth Randall   They have been there from my best day to my worst
# And everyone else who I did'nt mention by name    You are all important to me
pkgname=radegast-ng
pkgver=2.41
pkgrel=357
pkgdesc="Lightweight client for connecting to Second Life and OpenSim worlds"
arch=('i686' 'x86_64')
url="http://radegast.org"
license=('BSD')
depends=('mono')
conflicts=('radegast' 'radegast-git')
makedepends=('dos2unix' 'recode')

#https://github.com/cinderblocks/radegast/releases/download/v2.41/Radegast_x64-2.41.357.tbz
source=(https://github.com/cinderblocks/radegast/releases/download/v${pkgver}/Radegast_x64-${pkgver}.${pkgrel}.tbz
        radegast.desktop radegast)
sha256sums=('f9b963db3a9042fa0634d4461bafdbce8651890aa1ee4e00dfa8ea410f0df4d7'
            '8f599f04f263361cd45f7af53cfae633881bfa92ba3f806a0ca675d1ee131567'
            '73cdc80cc4abeb6ba368b09285ff5120ffeb6052a0a5e5ac0febf08c38bb0e96')
package() {
  cd ../src/Release/
  find . -type d -print0 | xargs -0 chmod 755
  find . -type f -print0 | xargs -0 chmod 644
  install -dm755 "${pkgdir}"/usr/share/Radegast
  cp -a -- * "${pkgdir}"/usr/share/Radegast
  install -Dm644 ../Release/radegast.png "${pkgdir}"/usr/share/icons/radegast.png
  install -Dm644 "${srcdir}"/radegast.desktop "${pkgdir}"/usr/share/applications/radegast.desktop
  install -Dm755 "${srcdir}"/radegast "${pkgdir}"/usr/bin/radegast

  install -dm755 "${pkgdir}"/usr/share/licenses/radegast
  recode windows-1252..utf8 < ../Release/license.txt > "${pkgdir}"/usr/share/licenses/radegast/COPYING
}

# vim:set ts=2 sw=2 et: