summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51060021b3a839bcbb10da47d46a4769c423b64c (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: Keiran <keiran0@proton.me>

pkgname=ezc
pkgver=1.1
pkgrel=1
pkgdesc="A tool to take and upload screenshots"
arch=('x86_64')
url="https://github.com/keiranscript/ezc"
license=('GPL3')
depends=('curl' 'cjson' 'grim' 'slurp')
source=("https://github.com/keiranscript/ezc/archive/refs/heads/main.zip")
md5sums=('SKIP') # Replace SKIP with the actual checksum

prepare() {
  cd "${srcdir}"
  unzip main.zip
}

build() {
  cd "${srcdir}/ezc-main"
  make
}

package() {
  cd "${srcdir}/ezc-main"
  install -Dm755 ezc "${pkgdir}/usr/bin/ezc"
}