summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdb721524b838a45a98ae9330744499f5aa4344a (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: Kookies <kookies@tutamail.com>

pkgname=nfs2iso2nfs-git
_gitname="nfs2iso2nfs"
pkgver=v0.5.6.0.gb47a6bb
pkgrel=1
pkgdesc="convert nfs files to iso and back (git version)"
arch=('x86_64')
url="https://github.com/FIX94/nfs2iso2nfs"
license=('unknown')
depends=('mono')
makedepends=('git')
provides=("$_gitname")
conflicts=("$_gitname")
source=('git+https://github.com/FIX94/nfs2iso2nfs.git')
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  git describe --long --tags | sed 's/([^-]*-g)/r1/;s/-/./g'
}

build() {
  cd $_gitname
  mcs Program.cs -out:$_gitname
}

package() {
  cd $_gitname
  install -Dm755 $_gitname "${pkgdir}/usr/bin/$_gitname"
}