summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5aa2e1a4faa89573acdf274e8e161f3f5568108 (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
# Maintainer: diced <pranaco2@gmail.com>
pkgname='fu'
pkgver=0.1.2
pkgrel=1
makedepends=('rust' 'cargo')
arch=('x86_64')
pkgdesc="Flameshot Uploader - Allows using SXCU files to upload images"
url="https://github.com/diced/flameshot-uploader"
source=('git+https://github.com/diced/flameshot-uploader.git#branch=trunk')
sha256sums=('SKIP')
license=('MIT')

build() {
  cd "$srcdir/flameshot-uploader" || exit 1

  cargo build --release
}

package() {
    cd "$srcdir/flameshot-uploader" || exit 1
    
    install -D -o root -g root -m 755 target/release/fu "$pkgdir/usr/bin/fu"
}