summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72e131c6542a3dcd96d9ae5ce89ed115519a1227 (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
#! /bin/bash
#  (GPL3+) Alberto Salvia Novella (es20490446e.wordpress.com)

Name="execute"
pkgname="${Name}-git"
pkgver=r19.940ea82
pkgrel=2
pkgdesc="Opens exe and bat files as if they were native"
arch=("x86_64")
url="https://gitlab.com/es20490446e/${Name}"
license=("GPL3")
makedepends=("git")
depends=("dosbox-svn" "q4wine" "wine_gecko" "wine-mono")
provides=("${Name}" "batman")
conflicts=("${Name}" "batman")
source=("git+${url}.git")
md5sums=("SKIP")


package () {
	"${srcdir}/${Name}/installer" "-install" "${pkgdir}"
}


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