summaryrefslogtreecommitdiff
path: root/pcr/quaternion/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-04-06 11:14:05 -0300
committerDavid P <megver83@parabola.nu>2018-04-06 11:14:05 -0300
commit3fd0f8c88b4631e1083deaad03d5bb15d145e194 (patch)
tree28f4fc8395f642220cae32aeb0bf1dc2453738c1 /pcr/quaternion/PKGBUILD
parentb32a58933f999632a82b548c7aac27166b8b86fe (diff)
downloadabslibre-3fd0f8c88b4631e1083deaad03d5bb15d145e194.tar.gz
abslibre-3fd0f8c88b4631e1083deaad03d5bb15d145e194.tar.bz2
abslibre-3fd0f8c88b4631e1083deaad03d5bb15d145e194.zip
upgpkg: pcr/quaternion 0.0.5-1
Diffstat (limited to 'pcr/quaternion/PKGBUILD')
-rw-r--r--pcr/quaternion/PKGBUILD64
1 files changed, 31 insertions, 33 deletions
diff --git a/pcr/quaternion/PKGBUILD b/pcr/quaternion/PKGBUILD
index d478f93d5..69f5c2ddf 100644
--- a/pcr/quaternion/PKGBUILD
+++ b/pcr/quaternion/PKGBUILD
@@ -1,53 +1,51 @@
# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (AUR): Ivan Semkin <ivan@semkin.ru>
-# Contributor: Martin Weinelt <hexa@darmstadt.ccc.de>
+# Contributor (AUR): Martin Weinelt <hexa@darmstadt.ccc.de>
pkgname=quaternion
-pkgver=0.0.4
-_libver=0.1
+pkgver=0.0.5
+_libver=0.2
pkgrel=1
-pkgdesc="Qt5-based IM client for the Matrix protocol"
+pkgdesc='Qt5-based IM client for the Matrix protocol'
arch=('any')
-url="https://github.com/Fxrh/Quaternion"
+url='https://matrix.org/docs/projects/client/quaternion.html'
license=('GPL3')
depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols')
-makedepends=('git' 'tar' 'cmake')
-provides=('quaternion')
-conflicts=('quaternion')
-source=("https://github.com/QMatrixClient/Quaternion/archive/v${pkgver}.tar.gz"
- "https://github.com/QMatrixClient/libqmatrixclient/archive/v${_libver}.tar.gz")
-sha512sums=('4df975fbfa053cc2abdb2026e5af3f539e0b9869475d61167d7a6017881fb3ce21b6db6e2f35d30148c3dad71b5489951050a33dba944f9151431a30b97ca926'
- '60cb7b3656ec359c2883f32ccc2b5561dfa9dc25c6d288fbe58babf7f38cfabfd9067c9e232fbe0514e2c57a9ba79a5a665e99727906e1070cf379c9bc599ae4')
+makedepends=('cmake')
+provides=($pkgname)
+conflicts=($pkgname)
+source=("https://github.com/QMatrixClient/Quaternion/archive/v$pkgver.tar.gz"
+ 'https://github.com/QMatrixClient/libqmatrixclient/archive/v0.2-q0.0.5.tar.gz')
+sha256sums=('ece45e3c483d3c6ed480dcd4b07221465db6e010c154e343e77c2a55dfebba9c'
+ 'b955bdddd7b5a33403e92ab4a3c25988e55a105fe640d6cbfd37a6059b7382f0')
prepare() {
- cd ${srcdir}
- cp -r libqmatrixclient-${_libver}/* ${pkgname^}-${pkgver}/lib/
+ mv libqmatrixclient-$_libver-q$pkgver/* ${pkgname^}-$pkgver/lib
}
build() {
- cd ${srcdir}/${pkgname^}-${pkgver}
- [ -d build ] || mkdir build
- cd build
- cmake ..
- make $MAKEFLAGS
+ mkdir ${pkgname^}-$pkgver/build -p
+ cd ${pkgname^}-$pkgver/build
+ cmake ..
+ make $MAKEFLAGS
}
package() {
- cd ${srcdir}/${pkgname^}-${pkgver}
+ cd ${pkgname^}-$pkgver
- # The application
- install -Dm755 "build/quaternion" -t "$pkgdir/usr/bin/"
+ # The binary
+ install -Dm755 "build/quaternion" -t "$pkgdir/usr/bin/"
- # .desktop file
- install -Dm644 "linux/quaternion.desktop" -t "$pkgdir/usr/share/applications/"
+ # .desktop file
+ install -Dm644 "linux/quaternion.desktop" -t "$pkgdir/usr/share/applications/"
- # Icons
- install -Dm644 "icons/quaternion/16-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/16x16/apps/"
- install -Dm644 "icons/quaternion/22-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/22x22/apps/"
- install -Dm644 "icons/quaternion/32-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/32x32/apps/"
- install -Dm644 "icons/quaternion/48-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/48x48/apps/"
- install -Dm644 "icons/quaternion/64-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/64x64/apps/"
- install -Dm644 "icons/quaternion/128-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/128x1128/apps/"
- install -Dm644 "icons/quaternion/sources/quaternion.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
+ # Icons
+ install -Dm644 "icons/quaternion/16-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/16x16/apps/"
+ install -Dm644 "icons/quaternion/22-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/22x22/apps/"
+ install -Dm644 "icons/quaternion/32-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/32x32/apps/"
+ install -Dm644 "icons/quaternion/48-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/48x48/apps/"
+ install -Dm644 "icons/quaternion/64-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/64x64/apps/"
+ install -Dm644 "icons/quaternion/128-apps-quaternion.png" -t "$pkgdir/usr/share/icons/hicolor/128x1128/apps/"
+ install -Dm644 "icons/quaternion/sources/quaternion.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
}
-
+# vim:set ts=2 sw=2 et: