summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9655fa63924ef5af47f18877cbaa0b3759cbaebe (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
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=kawanime-bin
_pkgname=kawanime
pkgver=0.4.2
pkgrel=1
provides=("kawanime")
conflicts=("kawanime")
pkgdesc="Desktop app for anime fans"
arch=('x86_64')
url="https://github.com/Kylart/KawAnime"
license=('MIT')
depends=('glib2' 'dbus')
#dpkg is not actually needed, it's just to avoid a build failure
source=("https://github.com/Kylart/$_pkgname/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
sha256sums=('fc62584e354ccd0e670a3a066f60e61c38e7af10b5fd07c97c1e545f65ee6278')

package() {
	cd "$srcdir/"
  ar x *.deb
  tar -xf data.tar.xz
  mv usr "${pkgdir}"
  mv opt "${pkgdir}"

  install -Dm755 /dev/stdin "$pkgdir"/usr/bin/$_pkgname <<END
  #!/usr/bin/bash
  /opt/KawAnime/kawanime

END
}