summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b53eb38c5986dbba7f76c7eaa5c7e0775b9f1f3a (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: Clansty <i@gao4.pw>
pkgname=electron-qq
pkgver=1.4.0
pkgrel=2
pkgdesc='A cross-platform QQ made with Electron'
license=('GPL')
depends=('electron')
arch=('any')
source=("app.asar::https://cf-ipfs.com/ipfs/QmPxsn8wJGmJzcMTAWCssfp8jETow77et1r9PXt3NdCQzS"
        512x512.png
        electron-qq.desktop
        ${pkgname})

package() {
  install -Dm644 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
  install -Dm644 "512x512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
  install -Dm644 "app.asar" "${pkgdir}/usr/lib/${pkgname}.asar"
  install -Dm755 "${pkgname}" "${pkgdir}/usr/local/sbin/${pkgname}"
} 

md5sums=('5c10b2e8ff524f5ab3f448de9b8aaf07'
         'f6edfa276c96b746048458413b8c26ce'
         '77bdf165bded76c2bac542402e8fe35c'
         '58617d5f16ae1ba9041e19f87faa798f')