Last active
August 29, 2015 14:06
-
-
Save Strubbl/b4643e656e4338a240f8 to your computer and use it in GitHub Desktop.
xdcc-grabscher.pkgbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Scott Campbell <@.com> | |
_pkgname=xdcc-grabscher | |
_solution=XG.sln | |
pkgname=$_pkgname-git | |
pkgver=3.2.0.0.r8.392e95e | |
pkgrel=1 | |
pkgdesc="A XDCC download client." | |
arch=('i686' 'x86_64') | |
url="https://github.com/lformella/xdcc-grabscher" | |
license=('GPL') | |
depends=('mono') | |
makedepends=('mono' 'git' 'nuget' 'nuget-cert') | |
provides=("${pkgname%-*}") | |
conflicts=("${pkgname%-*}") | |
source=("git+${url}.git") | |
sha256sums=('SKIP') #autofill using updpkgsums | |
pkgver() { | |
cd ${pkgname%-*} | |
printf "%s" "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')" | |
} | |
prepare() { | |
cd "$_pkgname" | |
nuget restore | |
} | |
build() { | |
cd "$_pkgname" | |
xbuild "$_solution" /p:Configuration=Release | |
} | |
package() { | |
echo "do package stuff..." | |
#cd "$pkgname-$pkgver" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reference: lformella/xdcc-grabscher#42 (comment)