diff options
author | jadelord | 2016-01-02 15:48:57 +0100 |
---|---|---|
committer | jadelord | 2016-01-02 15:48:57 +0100 |
commit | 70756daba0b28f2ff1fa5497e0354d55008654ea (patch) | |
tree | 5a383b2261168734a22a71c2c9821c4314c7e078 | |
download | aur-70756daba0b28f2ff1fa5497e0354d55008654ea.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | sendanywhere.install | 14 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..68b23af852c7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sat Jan 2 14:13:16 UTC 2016 +pkgbase = sendanywhere + pkgdesc = Send Anywhere, a peer-to-peer file sharing service + pkgver = 1.12.18 + pkgrel = 0 + url = https://send-anywhere.com + install = sendanywhere.install + arch = any + license = custom:sendanywhere_eula + makedepends = dpkg + provides = sendanywhere + source = https://update.send-anywhere.com/linux_downloads/sendanywhere_latest_amd64.deb + sha256sums = ad0168f85fbc2f3051a630dbd1621d5c48b2f2d32cfd76c961da391b57a10122 + +pkgname = sendanywhere + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ed7f0d1b643 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Ashwin Vishnu <ashuwish+arch at gmail dot com> + +pkgname=sendanywhere +pkgver=1.12.18 +pkgrel=0 +pkgdesc="Send Anywhere, a peer-to-peer file sharing service" +arch=('any') +url="https://send-anywhere.com" +license=('custom:sendanywhere_eula') +provides=('sendanywhere') +depends=() +makedepends=('dpkg') +install=$pkgname.install + +if [[ $CARCH = i686 ]];then + _arch=i386 + sha256sums=('ffdac92b5cce6e48af1c6cde2d2917ac6432089e7c327ccb2be1f7800609a974') +else + _arch=amd64 + sha256sums=('ad0168f85fbc2f3051a630dbd1621d5c48b2f2d32cfd76c961da391b57a10122') +fi + +_filename="sendanywhere_latest_${_arch}.deb" +source=("https://update.send-anywhere.com/linux_downloads/$_filename") + +package() { + echo '==> Extracting with dpkg.' + dpkg -x "$srcdir/$_filename" "$pkgdir" + + echo '==> Copying license.' + install -Dm644 "$pkgdir/usr/share/doc/sendanywhere/copyright"\ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + echo '==> Symlinking icons.' + for size in 16 22 24 32 48 64 128 256;do + install -dm755 "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps + ln -s /opt/estmob/"$pkgname"/"$pkgname"_icon_${size}.png \ + "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps/estmob-$pkgname.png + done +} + diff --git a/sendanywhere.install b/sendanywhere.install new file mode 100644 index 000000000000..07b5c8e5360a --- /dev/null +++ b/sendanywhere.install @@ -0,0 +1,14 @@ +post_install() +{ + xdg-icon-resource forceupdate --theme hicolor +} + +post_upgrade() +{ + post_install +} + +post_remove() +{ + post_install +} |