summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6528e5d16273264a8dec260d4d6ed3eb392d2f4e (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
# Maintainer: kamisaki
pkgname=animefetch
pkgver=0.1.0
pkgrel=1
pkgdesc="View your favorite anime details instantly in the terminal"
arch=('x86_64')
url="https://github.com/xeyossr/animefetch"
license=('GPL-3')
depends=('curl') 
makedepends=('cmake' 'gcc' 'make')
source=("$pkgname-$pkgver.tar.gz::https://github.com/xeyossr/animefetch/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    mkdir -p build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
}

package() {
    cd "$srcdir/$pkgname-$pkgver/build"
    install -Dm755 animefetch "$pkgdir/usr/bin/animefetch"
}