summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b23d5b0f93728408cdd588cd6cce893542b5a937 (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: Pablo Moyano (p4block)
pkgname=polarisbioseditor-git
pkgver=r41.31add7b
pkgrel=1
pkgdesc="BIOS editor for AMD Polaris cards"
arch=('x86_64')
url="https://github.com/jaschaknack/PolarisBiosEditor"
license=('GPL3')
depends=('mono')
makedepends=('git')
source=("git+https://github.com/jaschaknack/PolarisBiosEditor.git")
md5sums=('SKIP')

pkgver() {
  cd $srcdir/PolarisBiosEditor
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $srcdir/PolarisBiosEditor
  ./build.sh
}

package() {
  cd $srcdir/PolarisBiosEditor
  install -Dm755 PolarisBiosEditor.exe  "${pkgdir}/usr/bin/polarisbioseditor"
}