You are not logged in.
build() { cd $srcdir # Can you please explain what this patch does here? patch -p1 < daemon.patch
openfire has own daemon script. I don't use its in my package but I patch its if you want to use.
# Can you use install instead of mkdir and the mv? mkdir -p $pkgdir/opt $pkgdir/etc/rc.d mv $pkgname $pkgdir/opt install -D -m755 ${pkgname}d $pkgdir/etc/rc.d/${pkgname}d
fix
# Can you please explain why we have to delete so many files here? rm -r $pkgdir/opt/$pkgname/bin/extra/redhat* rm -r $pkgdir/opt/$pkgname/documentation rm -r $pkgdir/opt/$pkgname/resources/nativeAuth/{osx-ppc,solaris-sparc,win32-x86} rm -r $pkgdir/opt/$pkgname/lib/tray.dll rm $pkgdir/opt/$pkgname/*.html
}
1. Arch is not Redhat so I delete this files.
2. I delete documentation.
3. Arch is not Solaris and not Windows so I delete this files too
4. I delete Windows' dll
5. I delete license because it's common license and I delete readme.
Offline