2 Commits

Author SHA1 Message Date
5c4795ce42 Arch work 2023-01-07 11:42:26 -05:00
4dae2fef63 Arch work 2023-01-07 11:38:29 -05:00

View File

@@ -855,18 +855,18 @@ installMCARCH() {
'vorbis-tools: ogg vorbis support'
'musepack-tools: musepack support'
)
source=("http://files.jriver.com/mediacenter/channels/v30/latest/MediaCenter-$MCVERSION-amd64.deb" 'License.txt')
source=("http://files.jriver.com/mediacenter/channels/v30/latest/MediaCenter-$MCVERSION-amd64.deb")
package() {
cd "\$srcdir"
bsdtar xf data.tar.xz -C "\$pkgdir"
install -Dm644 "License.txt" "\$pkgdir/usr/share/licenses/\$pkgname/COPYING"
}
EOF
pushd "$OUTPUTDIR/PKGBUILD" &>/dev/null || return
makepkg_cmd="makepkg"
makepkg_cmd+=" --syncdeps --clean --cleanbuild --force --install"
# TODO try to acquire checksums from deb
makepkg_cmd+=" --syncdeps --clean --cleanbuild --skipinteg --force --install --noconfirm"
makepkg_cmd+=" -p mediacenter.pkgbuild"
if ! eval "${makepkg_cmd}"; then