blob: d246ff0d986ae529a9b05559976701abab702215 (
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
28
29
30
31
32
33
|
# Maintainer: kamisaki
# Description: A terminal wrap tool inspired by Spotify Wrapped
pkgname=terminalwrap
pkgver=1.2.0
pkgrel=1
pkgdesc="A terminal wrap tool inspired by Spotify Wrapped"
arch=('x86_64')
url="https://github.com/xeyossr/terminalwrap"
license=('GPL-3')
makedepends=('gcc' 'make' 'cmake')
source=("https://github.com/xeyossr/terminalwrap/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "$srcdir/terminalwrap-$pkgver"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/terminalwrap-$pkgver/build/dist"
if [[ -f terminalwrap ]]; then
install -Dm755 terminalwrap "$pkgdir/usr/bin/terminalwrap"
else
echo "Error: terminalwrap executable not found. Build may have failed."
exit 1
fi
}
|