summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23cefe137008205372b240c57ccd1c0e2862ab03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Kanehekili (mat dot wegmann at gmail dot com)
pkgname=videomerge
pkgver=2.0.0
pkgrel=3
pkgdesc="Simple and fast mp4/matroska/Av1/webm/mp2/mpts Video merger"
url="https://github.com/kanehekili/VideoMerge"
license=('GPL2')
depends=('python-pyqt6' 'ffmpeg')
arch=('any')
source=(https://github.com/kanehekili/VideoMerge/releases/download/2.0.0/videomerge2.0.0.tar)
md5sums=(0eb967f76c14259b3b6a29c12af84541)


package(){	
  cd ${srcdir}
  mkdir -p "${pkgdir}/opt/${pkgname}"
  mkdir -p "${pkgdir}/usr/share/applications"
  mkdir -p "${pkgdir}/usr/bin"
  rm $srcdir/$pkgname/install.sh
  rm $srcdir/$pkgname/uninstall.sh
  cp $srcdir/$pkgname/VideoMerge.desktop $pkgdir/usr/share/applications
  cp -r $srcdir/$pkgname/* $pkgdir/opt/$pkgname
  chmod +x ${pkgdir}/opt/${pkgname}/VideoMerge.py
  ln -s /opt/${pkgname}/VideoMerge.py  ${pkgdir}/usr/bin/videomerge
}