-
Notifications
You must be signed in to change notification settings - Fork 54
/
PKGBUILD
37 lines (33 loc) · 965 Bytes
/
PKGBUILD
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: Kingtous <[email protected]>
pkgname=fclash
pkgver=1.2.2
pkgrel=2
epoch=
pkgdesc="A Clash Proxy Fronted based on Clash"
arch=('x86_64')
url="https://github.com/kingtous/fclash"
license=('GPL-3.0')
groups=()
depends=('libappindicator-gtk3')
makedepends=(dpkg)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname%-git}::git+https://github.com/Kingtous/Fclash.git#branch=stable" "https://github.com/Kingtous/Fclash/releases/download/v1.2.2-2/cn.kingtous.fclash.deb")
noextract=()
sha256sums=('SKIP' 'SKIP')
validpgpkeys=()
build() {
# Download prebuilt deb package
dpkg -X cn.kingtous.fclash.deb extract
}
package() {
cp -r "${srcdir}/extract/opt" "${pkgdir}/opt"
install -Dm0755 "${srcdir}/${pkgname%-git}/debian/build-src/opt/apps/cn.kingtous.fclash/entries/applications/cn.kingtous.fclash.desktop" "${pkgdir}/usr/share/applications/cn.kingtous.fclash.desktop"
}