summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38bf5b1e3e74092d78dc3c8e974f8f925d9c4a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Stanisław Jasiewicz <stjasiewicz@gmail.com>
pkgname=mango
pkgver=1.1.1
pkgrel=1
pkgdesc="A tool for making backups of Arch packages and its dependencies"
arch=('any')
url="https://gitlab.com/Taro94/mango"
license=('GPL')
makedepends=('dotnet-sdk>=3.1.0')
source=("https://gitlab.com/Taro94/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('193df8243ff6a53259cff96ffc844b4a')
options=(!strip)

package() {
	cd "$pkgname-$pkgver"
    dotnet publish -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=true -o published
    install -Dm 755 "published/${pkgname}" -t "$pkgdir/usr/bin"
    install -Dm 755 "mango/fakepkg.sh" -t "$pkgdir/usr/share/mango"
}