# Maintainer: Trevor # Co-maintainer: Giovanni 'ItachiSan' Santini pkgname=skype-desktop-bin pkgver=37.deb39db pkgrel=1 pkgdesc="An unofficial client of Skype for Linux, running on top of Node Webkit." arch=('i686' 'x86_64') url="https://github.com/haskellcamargo/skype-unofficial-client" license=('MIT') depends=('gconf') optdepends=('libnotify') makedepends=('make' 'git') #options=('!strip') # Actually check for the architecture (Trevor, is so much juice! :D) [ "$CARCH" = "i686" ] && _platform=linux_x86 [ "$CARCH" = "x86_64" ] && _platform=linux_x64 source=(git+https://github.com/haskellcamargo/skype-unofficial-client.git) md5sums=('SKIP') _gitname=skype-unofficial-client pkgver () { cd $_gitname echo $(git rev-list --count HEAD).$(git describe --always | sed 's/-/./g') } package() { cd "$srcdir/$_gitname" # Git name and $pkgname differs # Creating missing folders mkdir -p "$pkgdir/usr/share/icons/hicolor/512x512/apps/" mkdir -p "$pkgdir/usr/share/applications" mkdir -p "$pkgdir/usr/bin" # Do the actual installation make PREFIX=$pkgdir $_platform }