summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoregnappahz2020-10-07 14:26:59 +0200
committeregnappahz2020-10-07 14:26:59 +0200
commitfc5f9a31d1c762edd4a19b55402e5beb8850003b (patch)
treebf1ec780f70bcd4e6ede09cc63b47668287a5dd4
parent852455b6c79e538c427013192c8a76e9b73c9fe1 (diff)
downloadaur-fc5f9a31d1c762edd4a19b55402e5beb8850003b.tar.gz
Simplified packaging.
-rw-r--r--PKGBUILD20
1 files changed, 4 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 08e1b763e16..9f472786e97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -76,25 +76,13 @@ package() {
pkgdesc="Latest stable-ish kodi build with VFS automaticly installed"
cd ${srcdir}/kodi-build
msg2 "Packaging kodi core"
- mkdir -p ${pkgdir}/usr/share/kodi && cp -r ${srcdir}/kodi-install/usr/share/kodi ${pkgdir}/usr/share/
- mkdir -p ${pkgdir}/usr/lib/kodi && cp -r ${srcdir}/kodi-install/usr/lib/kodi ${pkgdir}/usr/lib/
- mkdir -p ${pkgdir}/usr/include/kodi && cp -r ${srcdir}/kodi-install/usr/include/kodi ${pkgdir}/usr/include/
- mkdir -p ${pkgdir}/usr/share/icons && cp -r ${srcdir}/kodi-install/usr/share/icons ${pkgdir}/usr/share/
- mkdir -p ${pkgdir}/usr/share/doc && cp -r ${srcdir}/kodi-install/usr/share/doc ${pkgdir}/usr/share/
- mkdir -p ${pkgdir}/usr/share/applications/ && cp ${srcdir}/kodi-install/usr/share/applications/kodi.desktop ${pkgdir}/usr/share/applications/kodi.desktop
- mkdir -p ${pkgdir}/usr/share/xsessions/ && cp ${srcdir}/kodi-install/usr/share/xsessions/kodi.desktop ${pkgdir}/usr/share/xsessions/kodi.desktop
- mkdir -p ${pkgdir}/usr/bin/ && cp ${srcdir}/kodi-install/usr/bin/kodi ${pkgdir}/usr/bin/kodi
- cp ${srcdir}/kodi-install/usr/bin/kodi-standalone ${pkgdir}/usr/bin/kodi-standalone
- mkdir -p ${pkgdir}/usr/lib/firewalld && cp -r ${srcdir}/kodi-install/usr/lib/firewalld ${pkgdir}/usr/lib/
- cp -r ${srcdir}/kodi-install/usr/lib/firewalld ${pkgdir}/usr/lib/
+ cp -r ${srcdir}/kodi-install/* ${pkgdir}
msg2 "Injecting Kodi VFS System addon"
- #VFS part
- #/usr/lib/kodi/addons/vfs.rar
+ #VFS Part 1: /usr/lib/kodi/addons/vfs.rar
mkdir -p ${pkgdir}/usr/lib/kodi/addons/vfs.rar && cp -r ${srcdir}/xbmc/kodi-build/addons/vfs.rar/vfs.rar.so* ${pkgdir}/usr/lib/kodi/addons/vfs.rar/.
- #/usr/share/kodi/addons/vfs.rar
- #addon.xml
+ #VFS Part 2: /usr/share/kodi/addons/vfs.rar/addon.xml
mkdir -p ${pkgdir}/usr/share/kodi/addons/vfs.rar && cp ${srcdir}/xbmc/kodi-build/addons/vfs.rar/addon.xml ${pkgdir}/usr/share/kodi/addons/vfs.rar/.
- #resources
+ #VFS Part 3: resources
cp -r ${srcdir}/xbmc/kodi-build/addons/vfs.rar/resources ${pkgdir}/usr/share/kodi/addons/vfs.rar/.
}