summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15a0755f882eb8edbdf8e36709007878bffce0a6 (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
# Maintainer: Pixel

pkgname=walrs
pkgver=1.0.4
pkgrel=2
pkgdesc="A fast color scheme generator"
arch=('x86_64' 'aarch64')
url="https://github.com/Pixel2175/walrs"
license=('GPL3')
depends=('gcc-libs')
makedepends=('rust' 'cargo' 'git' 'make')
source=("git+https://github.com/Pixel2175/walrs.git")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  cargo build --release
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 target/release/walrs "$pkgdir/usr/bin/walrs"
  install -d "$pkgdir/etc/walrs/templates"
  cp -r templates/* "$pkgdir/etc/walrs/templates/"
}