summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56e2760f3729cc47e838ac8ed51a5c7ebae83f04 (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
# Maintainer: df543 <df543@protonmail.com>
pkgname=ss-face
pkgver=2.1.1
pkgrel=1
pkgdesc="A light weight shadowsocks-libev client GUI."
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/df543/Shadowsocks-Face"
license=('GPL')
depends=(
  'qt5-base'
  'shadowsocks-libev'
)
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.github.com/df543/Shadowsocks-Face/tar.gz/${pkgver}")
sha1sums=('51ad67ae5d0eadb5378a6ca1b77e32230509a6ba')

build() {
  cd "$srcdir/Shadowsocks-Face-$pkgver"
  mkdir -p build; cd build
  qmake-qt5 ..
  make
}

package() {
  cd "$srcdir/Shadowsocks-Face-$pkgver"
  install -Dm755 build/ss-face "$pkgdir/usr/bin/ss-face"
  install -Dm644 ss-face.desktop "$pkgdir/usr/share/applications/ss-face.desktop"
  install -Dm644 ss-face.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/ss-face.png"
}