Skip to content

Instantly share code, notes, and snippets.

@mkroman
Created July 28, 2014 19:55
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 mkroman/a721b005bf1dc84974fb to your computer and use it in GitHub Desktop.
Save mkroman/a721b005bf1dc84974fb to your computer and use it in GitHub Desktop.
ricochet-git PKGBUILD
# Maintainer: Boohbah <boohbah at gmail.com>
# Contributor: Mikkel Kroman <mk@maero.dk>
pkgname=ricochet-git
pkgver=1.0.1.r42.g04e0536
pkgrel=2
pkgdesc="Ricochet is an experiment with a different kind of instant
messaging that doesn't trust anyone with your identity, your contact
list, or your communications.a"
arch=('i686' 'x86_64')
url="https://ricochet.im/"
license=('custom')
depends=('tor' 'qt5-translations' 'qt5-quickcontrols' 'qt5-quick1'
'qt5-declarative')
makedepends=('git' 'qt5-tools')
source=("${pkgname}::git+https://github.com/ricochet-im/ricochet.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
}
build() {
cd "${pkgname}"
qmake CONFIG+=release DEFINES+=RICOCHET_NO_PORTABLE
make
}
package() {
cd "${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
INSTALL_ROOT="${pkgdir}" make install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment