diff options
author | Boohbah | 2015-07-06 21:29:19 +0000 |
---|---|---|
committer | Boohbah | 2015-07-06 21:29:19 +0000 |
commit | 2184e36f6e69eebc3a3b2ce1922554cd5d1e8dcb (patch) | |
tree | 3b2a0119702f84a7e810e324e2f8d867b6f85e71 | |
download | aur-2184e36f6e69eebc3a3b2ce1922554cd5d1e8dcb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..57f5f4018cd4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = ricochet-git + pkgdesc = A peer-to-peer instant messaging system built on Tor hidden services (git version) + pkgver = 1.0.4.r40.g666b686 + pkgrel = 1 + url = https://ricochet.im/ + arch = i686 + arch = x86_64 + license = custom + makedepends = git + makedepends = qt5-tools + depends = tor + depends = qt5-translations + depends = qt5-quickcontrols + depends = qt5-quick1 + depends = qt5-declarative + provides = ricochet + conflicts = ricochet + source = ricochet-git::git+https://github.com/ricochet-im/ricochet.git + md5sums = SKIP + +pkgname = ricochet-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..264466a1c6c5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Boohbah <boohbah at gmail.com> +# Contributor: Mikkel Kroman <mk@maero.dk> +# Contributor: AlexTalker <alextalker at openmailbox.org> + +pkgname=ricochet-git +pkgver=1.0.4.r40.g666b686 +pkgrel=1 +pkgdesc="A peer-to-peer instant messaging system built on Tor hidden services (git version)" +arch=('i686' 'x86_64') +url="https://ricochet.im/" +license=('custom') +depends=('tor' 'qt5-translations' 'qt5-quickcontrols' 'qt5-quick1' + 'qt5-declarative') +makedepends=('git' 'qt5-tools') +conflicts=('ricochet') +provides=('ricochet') +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-qt5 CONFIG+=release DEFINES+=RICOCHET_NO_PORTABLE + make +} + +package() { + cd "$pkgname" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + INSTALL_ROOT="$pkgdir" make install +} |