31 lines
921 B
Bash
31 lines
921 B
Bash
# Maintainer: Lynnesbian <lynne@bune.city>
|
|
# for some reason, the installed program won't launch :c
|
|
pkgname=buypeeb-git # '-bzr', '-git', '-hg' or '-svn'
|
|
_srcname=buypeeb-cs
|
|
pkgver=r89.d548d75
|
|
pkgrel=1
|
|
pkgdesc="A simple desktop program for keeping track of Yahoo! Auctions Japan items"
|
|
arch=('x86_64')
|
|
url="https://git.bune.city/lynnesbian/buypeeb-cs"
|
|
license=('GPL3')
|
|
depends=('gcc-libs')
|
|
makedepends=('git' 'dotnet-sdk') # 'bzr', 'git', 'mercurial' or 'subversion'
|
|
provides=("${pkgname%-git}")
|
|
conflicts=("${pkgname%-git}")
|
|
source=('git+https://git.bune.city/lynnesbian/buypeeb-cs.git')
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/${_srcname}"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${_srcname}"
|
|
dotnet publish -p:PublishProfile=Linux --output ./build/
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${_srcname}/build"
|
|
install -D -m755 ./buypeeb -t "${pkgdir}/usr/bin"
|
|
}
|