summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f100c200167aecaf79250c3e717233a18d717c7f (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: kamisaki
# Description: A terminal wrap tool inspired by Spotify Wrapped


pkgname=terminalwrap
pkgver=1.3.0
pkgrel=1
pkgdesc="A terminal wrap tool inspired by Spotify Wrapped"
arch=('x86_64')
url="https://github.com/xeyossr/terminalwrap"
license=('GPL-3')
depends=('gcc')
source=("git+https://github.com/xeyossr/terminalwrap.git")
sha256sums=('SKIP')

build() {
  cd "$srcdir/terminalwrap"
  g++ -O3 -march=native -flto -funroll-loops -ftree-vectorize -std=c++17 -o terminalwrap terminalwrap.cpp
}

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