summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 830cf580725..a3a53838cca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: hermes14
pkgname=superbeam
pkgver=5.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="The easiest and fastest way to share files with Android"
arch=('any')
url="http://superbe.am/"
@@ -17,11 +17,18 @@ source=(http://superbe.am/download/5319)
prepare(){
gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name="SuperBeam" --categories="Network"
+ sed -E '/^exec / {
+ i \
+cd /usr/share/superbeam
+ }' \
+ < "$srcdir/SuperBeam-${pkgver}-linux/SuperBeam-${pkgver}-linux.sh" \
+ > "$srcdir/SuperBeam-${pkgver}-linux/SuperBeam-${pkgver}-linux.ssl-proxy-fix.sh"
}
package() {
mkdir -p "$pkgdir/usr/bin"
- install -Dm755 "$srcdir/SuperBeam-${pkgver}-linux/SuperBeam-${pkgver}-linux.sh" "$pkgdir/usr/bin/superbeam"
+ install -Dm755 "$srcdir/SuperBeam-${pkgver}-linux/SuperBeam-${pkgver}-linux.ssl-proxy-fix.sh" "$pkgdir/usr/bin/superbeam"
+ install -Dm755 "$srcdir/SuperBeam-${pkgver}-linux/ssl-proxy" "$pkgdir/usr/share/superbeam/ssl-proxy"
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/SuperBeam-${pkgver}-linux/SuperBeam.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$srcdir/SuperBeam-${pkgver}-linux/README" "$pkgdir/usr/share/doc/$pkgname/README"