blob: fc5cd9d6d85ecd12d4ed6e352bb14fb884b38a81 (
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
41
42
43
44
|
# Maintainer: FennecTECH <fennectech@gmail.com>
# Based uppon the script for radegast written by Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=radegast-git
pkgver=master
pkgrel=44
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')
makedepends=('dos2unix' 'recode' 'openssl-1.0')
source=(radegast.desktop radegast)
sha256sums=('8f599f04f263361cd45f7af53cfae633881bfa92ba3f806a0ca675d1ee131567'
'73cdc80cc4abeb6ba368b09285ff5120ffeb6052a0a5e5ac0febf08c38bb0e96')
#pkgver() {
# cd "$pkgname"
# git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
#}
build() {
git clone --recursive https://github.com/radegastdev/radegast.git radegast-git-master-src
cd "${srcdir}"/$pkgname-$pkgver-src
find .. -name \*.sh -exec dos2unix '{}' \;
bash runprebuild.sh
xbuild Radegast.sln
}
package() {
cd "${srcdir}"/$pkgname-$pkgver-src/bin
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 ../Radegast/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 < ../LICENSE.txt > "${pkgdir}"/usr/share/licenses/radegast/COPYING
}
# vim:set ts=2 sw=2 et:
|