Guest User

PKGBUILD.patch

a guest
Nov 24th, 2018
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- PKGBUILD    2018-11-24 10:28:55.512734400 +0200
  2. +++ PKGBUILD.fix        2018-11-24 10:29:13.820043800 +0200
  3. @@ -20,7 +20,7 @@
  4.  
  5.  package() {
  6.    mkdir -p $pkgdir/opt/${pkgname} $pkgdir/usr/share/applications $pkgdir/usr/bin/
  7. -  cp -Rf $srcdir/squashfs-root/app/* $pkgdir/opt/${pkgname}
  8. +  find $srcdir/squashfs-root/* -path $srcdir/squashfs-root/usr -prune -o -prune -exec cp -Rf {} $pkgdir/opt/${pkgname} \;
  9.    cp -Rf $srcdir/squashfs-root/usr/share/* $pkgdir/usr/share
  10.    cp -fp  $srcdir/squashfs-root/staruml.desktop $pkgdir/usr/share/applications
  11.    sed -i 's/AppRun/staruml/g' $pkgdir/usr/share/applications/staruml.desktop
RAW Paste Data