summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76dd739843a4a52d809d60bfb074274b726602e1 (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
28
29
30
31
32
33
pkgname=beditor-bin
pkgver=0.1.4
pkgrel=1
pkgdesc="Video editing software, Can run on Windows, Linux, and macOS."
arch=('x86_64')
url="https://github.com/b-editor/BEditor"
license=('MIT')
depends=(
  ffmpeg
  gstreamer
  gtk2
  gtk3
  harfbuzz
  hdf5
  jasper
  libdc1394
  libwebp
  openal
  openexr
  tesseract
)

source=("https://github.com/b-editor/BEditor/releases/download/v${pkgver}/beditor_${pkgver}-1_amd64.deb")
sha512sums=("SKIP")

package() {
  bsdtar -xf data.tar.xz -C "${pkgdir}/"

  # Fix Icon Path
  sed -i "s@Icon=/usr/share/pixmaps/beditor_icon.png@Icon=/usr/share/icons/hicolor/scalable/apps/beditor.png@" "${pkgdir}/usr/share/applications/beditor.desktop"
  install -Dm644 "${pkgdir}/usr/share/pixmaps/beditor_icon.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/beditor.png"
  rm -r "${pkgdir}/usr/share/pixmaps"
}