summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 387c835a1eaf4e3025d6483f38a3d2aa1d3f63ce (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
# Maintainer: Jan0660 <jan0660@tutanota.com>

pkgname=comics-downloader-git
pkgdesc="Tool to download comics and manga in pdf/epub/cbr/cbz from a website."

pkgver() {
  cd "comics-downloader"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=r190.d166a3b
pkgrel=1
pkgbase=comics-downloader-git
replaces=()
arch=('x86_64')
url="https://github.com/Girbons/comics-downloader"
license=('MIT')
groups=()
makedepends=('git' 'go')
depends=()
source=('git+https://github.com/Girbons/comics-downloader.git')
sha256sums=('SKIP')

package() {
  cd "${srcdir}/comics-downloader/cmd/downloader"
  go build -o comics-downloader
  install -Dm 755 ./comics-downloader -t "${pkgdir}/usr/bin/"
}