Compare commits
2 Commits
a9ab1ace2a
...
5c4795ce42
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c4795ce42 | |||
| 4dae2fef63 |
@@ -855,18 +855,18 @@ installMCARCH() {
|
|||||||
'vorbis-tools: ogg vorbis support'
|
'vorbis-tools: ogg vorbis support'
|
||||||
'musepack-tools: musepack 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() {
|
package() {
|
||||||
cd "\$srcdir"
|
cd "\$srcdir"
|
||||||
bsdtar xf data.tar.xz -C "\$pkgdir"
|
bsdtar xf data.tar.xz -C "\$pkgdir"
|
||||||
install -Dm644 "License.txt" "\$pkgdir/usr/share/licenses/\$pkgname/COPYING"
|
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
pushd "$OUTPUTDIR/PKGBUILD" &>/dev/null || return
|
pushd "$OUTPUTDIR/PKGBUILD" &>/dev/null || return
|
||||||
makepkg_cmd="makepkg"
|
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"
|
makepkg_cmd+=" -p mediacenter.pkgbuild"
|
||||||
|
|
||||||
if ! eval "${makepkg_cmd}"; then
|
if ! eval "${makepkg_cmd}"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user