summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1fdae77e59cc3410b5aadb240785c6526546e2ef (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
34
35
36
37
 # Maintainer: poncho
pkgname=kappa-launcher-git
_pkgname=kappa-launcher
pkgver=r96.fdceb65
pkgrel=1
pkgdesc="Twitch launcher using rofi"
arch=('any')
url="https://github.com/jp1995/kappa-launcher"
license=('MIT')
provides=($pkgname)
conflicts=($pkgname)
depends=(
  'rofi'
  'jq'
  'streamlink'
  )
optdepends=(
  'chatterino: chat client'
  'chatty-beta: alternative chat client'
  'xdg-utils: browser function'
)
makedepends=('git')
source=("git+https://github.com/jp1995/kappa-launcher.git")
sha1sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $srcdir/$_pkgname
  install -d $pkgdir/usr/bin
  install -m755 kpl $pkgdir/usr/bin
  install -d $pkgdir/etc/kpl
  install -m755 config $pkgdir/etc/kpl
}