summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 837aba996c50c2cda379e8a462c5131384c73b66 (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: Luclu7 <me at luclu7 dot fr>
pkgname=what-anime-cli-git
pkgver=1
pkgrel=1
pkgdesc="Find the anime scene by image using your terminal"
arch=('x86_64')
url="https://github.com/irevenko/what-anime-cli"
license=('MIT')
makedepends=('go')
source=("git+https://github.com/irevenko/what-anime-cli.git")
sha512sums=('SKIP')

warn_build_references() {
    : # I like __FILE__ and don't consider build references to be a problem
}

build() {
	cd "what-anime-cli"
	go build
}

package() {
	cd "what-anime-cli"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	install -Dm755 what-anime-cli "$pkgdir/usr/bin/what-anime"
}