Skip to content

Instantly share code, notes, and snippets.

@palopezv
Last active October 3, 2016 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palopezv/ede12d70a9d88174fb67 to your computer and use it in GitHub Desktop.
Save palopezv/ede12d70a9d88174fb67 to your computer and use it in GitHub Desktop.
# Maintainer: Yves Hoppe <info@yveshoppe.de>
pkgname=calypso
pkgver=1.3.0
pkgrel=1
pkgdesc="Manage your Wordpress.com and Jetpack-enabled sites in one place"
arch=('i686' 'x86_64')
url="https://desktop.wordpress.com/"
license=('GPL2')
depends=('gtk2' 'libgpg-error' 'nss' 'libnotify' 'alsa-lib' 'libxtst')
optdepends=('cups: enable printing')
source=("calypso-$pkgver.deb::https://public-api.wordpress.com/rest/v1.1/desktop/linux/download?type=deb")
md5sums=('180894acdefbc80bc72fa85eba13abfd')
prepare() {
cd "$srcdir"
tar -xf data.tar.gz
}
package() {
cd "$srcdir"
mv usr "$pkgdir"/
install -dm755 "$pkgdir"/usr/bin
ln -s "$pkgdir"/usr/share/wpcom/wpcom "$pkgdir"/usr/bin/wpcom
sed -i -e 's# python# python2#' "$pkgdir"/usr/share/wpcom/resources/app/node_modules/spellchecker/build/gyp-mac-tool
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment