summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f92ee73b153242cc590780d5c3d376c6cf3ac01 (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
# Maintainer: mrAppleXZ <mr.applexz@gmail.com> 

pkgname=vmware-auto-unlocker-git
pkgver=v1.1.r5.g79ef82d
pkgrel=1
pkgdesc="Unlocker for VMWare macOS"
arch=('x86_64')
url="https://github.com/paolo-projects/auto-unlocker/"
license=('GPL3')
depends=(curl libarchive zlib)
makedepends=(git cmake)
provides=(vmware-auto-unlocker)
conflicts=(vmware-auto-unlocker)
source=("git+https://github.com/paolo-projects/auto-unlocker.git#branch=master")
sha512sums=('SKIP')

pkgver() {
  cd "auto-unlocker"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
  cd "auto-unlocker"
  make
}

package() {
  cd "auto-unlocker"
  make install DESTDIR="$pkgdir"  
}