diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-06-04 14:01:50 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-06-04 18:18:32 -0400 |
commit | 324d13791ba20b49d7831cb3a1c6c664482372f6 (patch) | |
tree | e1a90fd29f8e1571775710a775ec3aa7f7c56f8b /libre/purple-matrix | |
parent | 8c8f87df80e5a938db5a849a8f64cf955d3075a1 (diff) | |
download | abslibre-324d13791ba20b49d7831cb3a1c6c664482372f6.tar.gz abslibre-324d13791ba20b49d7831cb3a1c6c664482372f6.tar.bz2 abslibre-324d13791ba20b49d7831cb3a1c6c664482372f6.zip |
[purple-matrix]: add package
Diffstat (limited to 'libre/purple-matrix')
-rw-r--r-- | libre/purple-matrix/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/purple-matrix/PKGBUILD b/libre/purple-matrix/PKGBUILD new file mode 100644 index 000000000..c00dfd6e3 --- /dev/null +++ b/libre/purple-matrix/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer (aur): Olivia Mackintosh <livvy@base.nu> +# Contributor: Bryce Chidester <bryce@cobryce.com> +# Contributor: bill-auger <bill-auger@programmer.net> + + +# parabola changes and rationale: +# - in [libre] for pbot + + +pkgname=purple-matrix +pkgver=20210210 +_gitrev=2fcd5b8f901034980616e5f719750c48f37a332f +pkgrel=2 +pkgdesc="Libpurple protocol plugin for matrix." +arch=(armv7h ui686 x86_64) +url="https://github.com/matrix-org/purple-matrix" +license=('GPL2') +depends=('libpurple' 'http-parser' 'glib2' 'json-glib') +depends+=('libgcrypt' 'libolm') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/matrix-org/${pkgname}/archive/${_gitrev}.tar.gz) +sha256sums=('80a41992c6cb3bae3248af463e9b1a051e9553664ecba2d38ad1f193932e92d3') + + +build() +{ + cd "${srcdir}"/${pkgname}-${_gitrev} + + export CPPFLAGS="$CPPFLAGS -O2" + make +} + +package() +{ + cd "${srcdir}"/${pkgname}-${_gitrev} + + make DESTDIR="${pkgdir}" install +} |