summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8b14de72ad0ed4a066fe4ab514a043fb1ccc66d (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
# Maintainer: Wojciech Duda <rivioxyt@hotmail.com>
pkgname=hypr-zoom
pkgver=0.0.2
pkgrel=1
pkgdesc="A zoom feature for Hyprland"
arch=('x86_64')
url="https://github.com/FShou/hypr-zoom"
license=('MIT')
depends=('ffmpeg')
makedepends=('go' 'git')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FShou/hypr-zoom/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')

pkgver() {
  echo "$pkgver"
}

build() {
  cd "$srcdir/$pkgname-$pkgver" || return 1
  go build -o hypr-zoom
}

package() {
  install -Dm755 "$srcdir/$pkgname-$pkgver/hypr-zoom" "$pkgdir/usr/bin/hypr-zoom"
}