Last active
October 3, 2016 10:12
-
-
Save palopezv/ede12d70a9d88174fb67 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Yves Hoppe <[email protected]> | |
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