summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 889069d3171420ff3c1e11746ada70b8ff97b7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Harry McKenzie <harry@copy.rest>
pkgname=asciigen
pkgver=1.0.4
pkgrel=2
pkgdesc="Converts images/video to ASCII art"
arch=('x86_64')
url="https://github.com/seatedro/asciigen"
license=('MIT')
depends=('ffmpeg')
makedepends=('zig')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('2326d73376997f838bae25ebc7d1f6f84a7442db8f55ec841a7e11246b73c31f')

build() {
  cd "$pkgname-$pkgver"
  zig build -Drelease
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm0755 -t "$pkgdir/usr/bin/" "zig-out/bin/$pkgname"
}