diff options
author | sehraf | 2016-04-29 21:06:27 +0200 |
---|---|---|
committer | sehraf | 2016-04-29 21:06:27 +0200 |
commit | 20905a8750fed22419fb748d36b07215f439482f (patch) | |
tree | c20a1d5fa9314ce6de64c837907a38f60e786912 | |
parent | 1ae7592bd840eadf2a289fbf68dacb991333002c (diff) | |
download | aur-20905a8750fed22419fb748d36b07215f439482f.tar.gz |
use hooks instead .install file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | retroshare.install | 28 |
3 files changed, 4 insertions, 40 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Mon Apr 25 13:25:50 UTC 2016 +# Fri Apr 29 19:05:43 UTC 2016 pkgbase = retroshare-git pkgdesc = Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. pkgver = v0.6.0.r395.g0d84a55 pkgrel = 1 url = http://retroshare.sourceforge.net/ - install = retroshare.install arch = i686 arch = x86_64 arch = armv6h @@ -21,7 +20,6 @@ pkgbase = retroshare-git depends = libxss depends = libmicrohttpd depends = sqlcipher - depends = desktop-file-utils depends = ffmpeg depends = opencv depends = curl @@ -31,9 +29,7 @@ pkgbase = retroshare-git provides = retroshare conflicts = retroshare source = retroshare::git+https://github.com/RetroShare/RetroShare.git - source = retroshare.install sha256sums = SKIP - sha256sums = 44ea7d8b0208e8954391184dcbb8ff94b2efc246580057a1d2b2e73ad262aad2 pkgname = retroshare-git @@ -18,19 +18,15 @@ pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e- arch=('i686' 'x86_64' 'armv6h' 'armv7h') url="http://retroshare.sourceforge.net/" license=('GPL' 'LGPL') -depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libgnome-keyring' 'libxss' 'libmicrohttpd' 'sqlcipher' 'desktop-file-utils') +depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libgnome-keyring' 'libxss' 'libmicrohttpd' 'sqlcipher') makedepends=('git' 'qt5-tools') optdepends=('tor: tor hidden node support' 'i2p: i2p hidden node support') provides=("${_pkgname}") conflicts=("${_pkgname}") -install="${_pkgname}.install" -source=("${_pkgname}::git+https://github.com/RetroShare/RetroShare.git" - 'retroshare.install') - -sha256sums=('SKIP' - '44ea7d8b0208e8954391184dcbb8ff94b2efc246580057a1d2b2e73ad262aad2') +source=("${_pkgname}::git+https://github.com/RetroShare/RetroShare.git") +sha256sums=('SKIP') # Add missing dependencies if needed [[ "$_build_voip" == 'true' ]] && depends=(${depends[@]} 'ffmpeg' 'opencv') diff --git a/retroshare.install b/retroshare.install deleted file mode 100644 index 0b8bbbdea6d8..000000000000 --- a/retroshare.install +++ /dev/null @@ -1,28 +0,0 @@ -upd_db() { - if [[ -x update-desktop-database ]]; then - echo "Update desktop database..." - update-desktop-database -q - fi -} - -post_install() { - xdg-icon-resource install --size 24 /usr/share/icons/hicolor/24x24/apps/retroshare06.png application-RetroShare06 - xdg-icon-resource install --size 48 /usr/share/icons/hicolor/48x48/apps/retroshare06.png application-RetroShare06 - xdg-icon-resource install --size 64 /usr/share/icons/hicolor/64x64/apps/retroshare06.png application-RetroShare06 - xdg-icon-resource install --size 128 /usr/share/icons/hicolor/128x128/apps/retroshare06.png application-RetroShare06 - - upd_db -} - -post_upgrade() { - post_install -} - -post_remove() { - xdg-icon-resource uninstall --size 24 /usr/share/icons/hicolor/24x24/apps/retroshare06.png - xdg-icon-resource uninstall --size 48 /usr/share/icons/hicolor/48x48/apps/retroshare06.png - xdg-icon-resource uninstall --size 64 /usr/share/icons/hicolor/64x64/apps/retroshare06.png - xdg-icon-resource uninstall --size 128 /usr/share/icons/hicolor/128x128/apps/retroshare06.png - - upd_db -} |