31 lines
846 B
Text
31 lines
846 B
Text
|
# Maintainer: Lynnesbian <lynne@bune.city>
|
||
|
pkgname=buypeeb-git # '-bzr', '-git', '-hg' or '-svn'
|
||
|
_srcname=buypeeb-cs
|
||
|
pkgver=r88.ec03321
|
||
|
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
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/${_srcname}/build"
|
||
|
install -D -m755 ./buypeeb -t "${pkgdir}/usr/bin"
|
||
|
}
|