summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3b49828665d9f8e5dd1054996a7ebce9c66607b (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
# Maintainer: Star_caorui <Star_caorui@hotmail.com>
pkgname=fakeq-git
pkgver=0.1.0
pkgrel=1
pkgdesc="fakeq is a fake qq client."
arch=(x86_64)
url="https://github.com/Star-caorui/fakeq"
license=(MIT)
depends=('gtk3' 'webkit2gtk')
makedepends=('git' 'cargo' 'yarn' 'libappindicator-gtk3' 'appmenu-gtk-module' 'libvips' 'wget')
source=('fakeq-git::git+https://github.com/Star-caorui/fakeq')
sha256sums=('SKIP')

build() {
  cd ${pkgname}
  yarn
  yarn run tauri build
}

package() {
  cd ${pkgname}/src-tauri/target/release/bundle/deb/fakeq_${pkgver}_amd64/data
  install -dm755 "${pkgdir}"/usr
  cp -r ./usr/* "${pkgdir}"/usr/
}