mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
mega: clean the path
This commit is contained in:
parent
c7f8e39be5
commit
7a39c0847e
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ license=('custom')
|
|||
depends=(
|
||||
'desktop-file-utils'
|
||||
'gconf'
|
||||
'gtk2>=2.0'
|
||||
'gtk2'
|
||||
'hicolor-icon-theme'
|
||||
)
|
||||
source=("https://www.megasoftware.net/releases/mega_$pkgver-1_amd64.deb")
|
||||
|
@ -20,8 +20,8 @@ sha256sums=('c86684c5fc24bfdc69c7f8cc84e9a9fc5d1e82465356e7e041eb939ebd28ecdd')
|
|||
|
||||
package() {
|
||||
tar -p -xf data.tar.xz -C "${pkgdir}"
|
||||
chmod 755 -R ../pkg/${pkgname}/usr
|
||||
cp -r ../pkg/${pkgname}/usr/local/* ../pkg/${pkgname}/usr/
|
||||
rm -r ../pkg/${pkgname}/usr/local
|
||||
sed -i '/^Exec/ s/$/ %U/' $pkgdir/usr/share/applicaions/mega.desktop
|
||||
chmod 755 -R ${pkgdir}/usr
|
||||
cp -r ${pkgdir}/usr/local/* ${pkgdir}/usr/
|
||||
rm -r ${pkgdir}/usr/local
|
||||
sed -i "s/Exec=mega/Exec=mega %U/g" $pkgdir/usr/share/applications/mega.desktop
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue