# Maintainer: David Heinemeier Hansson pkgname=hype pkgver=0.1.0 pkgrel=3 pkgdesc='Simple Markdown presentations with a visual slide editor' arch=('x86_64' 'aarch64') url='https://github.com/omacom/hype' license=('MIT') install='hype.install' options=('!debug') depends=( 'ffmpeg' 'hicolor-icon-theme' 'qt6-base>=6.8' 'qt6-declarative>=6.8' 'qt6-multimedia' 'qt6-imageformats' 'qt6-svg' 'source-highlight' 'zlib' 'libwebp' 'xdg-desktop-portal' ) makedepends=('gcc' 'git' 'make') # Pin the source until a tagged release is available. _commit=f54cec61f5932f0ebb7659273b9a7de0fed64054 source=("git+$url.git#commit=$_commit") # makepkg hashes git archive --format tar of the pinned commit. sha256sums=('017d08f590bf835d94ea95a3856d6c73d64ea72f7eeb6c21d417a8bd23c990a1') build() { cd "$srcdir/$pkgname" ./bin/build } package() { cd "$srcdir/$pkgname" install -Dm755 build/hype "$pkgdir/usr/bin/hype" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 pkgbuild/hype.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/hype.svg" install -Dm644 pkgbuild/hype.desktop "$pkgdir/usr/share/applications/hype.desktop" install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" }