Skip to content

Instantly share code, notes, and snippets.

@Strubbl
Last active August 29, 2015 14:06
Show Gist options
  • Save Strubbl/b4643e656e4338a240f8 to your computer and use it in GitHub Desktop.
Save Strubbl/b4643e656e4338a240f8 to your computer and use it in GitHub Desktop.
xdcc-grabscher.pkgbuild
# 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"
}
@Strubbl
Copy link
Author

Strubbl commented Sep 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment