makedeb
Crossplatform GUI tool for lossless trimming,cutting of video,audio files
Viewing /PKGBUILD
.
Click here to go back to the Git tree for lossless-cut-bin.
# Maintainer: only_vip <onlyme_vip@protonmail.com>
_pkgname=lossless-cut
pkgname=lossless-cut-bin
pkgver='3.52.0'
pkgrel=1
pkgdesc="Crossplatform GUI tool for lossless trimming,cutting of video,audio files"
arch=('amd64')
url="https://github.com/mifi/lossless-cut"
license=('MIT')
options=(!strip)
depends=('libnss3' 'ffmpeg' 'libgtk-3-0')
provides=('losslesscut')
conflicts=('losslesscut')
source=("${pkgname}-${pkgver}.tar.bz2::https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-x64.tar.bz2"
"losslesscut.desktop"
"LICENSE"
"https://raw.githubusercontent.com/mifi/lossless-cut/master/src/icon.svg")
sha512sums=('88f0c633fe84ba59f5a4b7ca90754a2a830dccc957934cb147a3d59cd5b16803497bf359b9799314ff5ed60704e3b0470d86008e47ad1dce37ca4d6075b0b5b9'
'884cae51cc5f54343d423821435ff46f312ac9fc612e18cdbe0ddc340762855b36f49fda27c7c73a3417fe8841d93daa78182cdf60c71f09d508156af0d7ccd7'
'5367c35c259222dffba6a99807e59b291a77befee24c9d3be706a03715201da775b48324b71afc5b7293e667c5683a012d998b8cfb239aa80f7a1d5640810bbb'
'aa415de44a12b37d594451eaf814d31a4c3db77cf0d42bba0549c9ea0605b0251480c1cc4b38f14edda818abf984b6b128cb12035651a130b99b9999d826742c')
package() {
install -d "${pkgdir}/usr/"{share/losslesscut,bin}
cp -vRf "${srcdir}/LosslessCut-linux-x64/"* "${pkgdir}/usr/share/losslesscut"
ln -s "/usr/share/losslesscut/losslesscut" "${pkgdir}/usr/bin/losslesscut"
install -Dm644 "losslesscut.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "icon.svg" "${pkgdir}/usr/share/pixmaps/${_pkgname}.svg"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}