43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Maintainer: David Heinemeier Hansson <david@hey.com>
|
|
|
|
pkgname=omacut
|
|
pkgver=0.1.2
|
|
pkgrel=1
|
|
pkgdesc='Dead-simple video length trimmer built with Qt Quick and ffmpeg'
|
|
arch=('x86_64' 'aarch64')
|
|
url='https://github.com/omacom-io/omacut'
|
|
license=('MIT')
|
|
install='omacut.install'
|
|
options=('!debug')
|
|
depends=(
|
|
'ffmpeg'
|
|
'hicolor-icon-theme'
|
|
'qt6-base'
|
|
'qt6-declarative'
|
|
'qt6-multimedia'
|
|
'xdg-desktop-portal'
|
|
)
|
|
makedepends=(
|
|
'gcc'
|
|
'make'
|
|
'qt6-base'
|
|
'qt6-declarative'
|
|
'qt6-multimedia'
|
|
)
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/omacom-io/omacut/archive/refs/tags/v$pkgver.tar.gz")
|
|
sha256sums=('fee13b750362b98cfb626f0368f6c24fe2f7080180067198ff4bb662f3adbcdc')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./bin/build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
install -Dm755 build/omacut "$pkgdir/usr/bin/omacut"
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
install -Dm644 pkgbuild/omacut.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/omacut.svg"
|
|
install -Dm644 pkgbuild/omacut.desktop "$pkgdir/usr/share/applications/omacut.desktop"
|
|
}
|