summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c66f6846ce65a6096f6bab07d1d11b9ddd8186a (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Brod8362

pkgname=linuxsync-git
_pkgname=linuxsync
pkgver=r26.8a85256
pkgrel=1
pkgdesc="sync android notifications to linux (client)"
arch=('x86_64')
url='https://github.com/brod8362/linuxsync-client'
license=('GPL')
depends=('dbus'
         'openssl'
         'glibc'
         'gcc-libs'
     'systemd-libs'
     'xz'
     'lz4'
     'libgcrypt'
     'libgpg-error')
makedepends=('rust'
         'git')
provides=('linuxsync')
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgname"

  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$_pkgname"

  make
}

package() {
  cd "$_pkgname"

  make DESTDIR="$pkgdir/usr" install
}