blob: 1cba988624d3b5b1f8d832ae3af2b7826bef1eee (
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
|
# Maintainer: bozidarsk <aaaa@gmail.com>
name='installaur'
pkgname="$name-git"
pkgver=2
pkgrel=1
pkgdesc="Aur helper/installer."
arch=('x86_64')
url="https://github.com/bozidarsk/$name"
license=('unknown')
depends=('mono')
makedepends=('git' 'mono')
# to update version
# makepkg --printsrcinfo > .SRCINFO
prepare()
{
git clone "$url.git" --recurse-submodules "$srcdir/$name"
}
build()
{
cd "$srcdir/$name"
mcs '-recurse:*.cs' -define:NO_FILES -out:"$name"
}
package()
{
install -vDm755 "$srcdir/$name/$name" -t "$pkgdir/usr/bin/"
}
|