[arch-commits] Commit in cutegram/repos (4 files)
Jiachen Yang
farseerfc at archlinux.org
Wed Jul 13 09:29:11 UTC 2016
Date: Wednesday, July 13, 2016 @ 09:29:11
Author: farseerfc
Revision: 182831
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
cutegram/repos/community-testing-i686/
cutegram/repos/community-testing-i686/PKGBUILD
(from rev 182830, cutegram/trunk/PKGBUILD)
cutegram/repos/community-testing-x86_64/
cutegram/repos/community-testing-x86_64/PKGBUILD
(from rev 182830, cutegram/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: cutegram/repos/community-testing-i686/PKGBUILD (from rev 182830, cutegram/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-07-13 09:29:11 UTC (rev 182831)
@@ -0,0 +1,42 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# Contributor: Llumex03
+# Maintainer in Chakra: gnastyle
+# Contributor in Chakra: FranzMari from Chakra
+# Contributor in Chakra: danyf90 <daniele.formihelli at gmail.com>
+# Contributor in Chakra: totoloco <totoloco at gmx.com>
+
+pkgname=cutegram
+pkgver=2.9.5
+pkgrel=1
+pkgdesc="Telegram client by Aseman Land"
+arch=('i686' 'x86_64')
+url="http://aseman.co/cutegram"
+license=('GPL')
+depends=('libqtelegram-ae' 'telegramqml' 'aseman-qt-tools')
+optdepends=('gst-plugins-good: for audio and notification support'
+ 'gst-plugins-bad: for audio support')
+makedepends=('git')
+source=("${pkgname}"::"git+https://github.com/Aseman-Land/Cutegram.git#commit=d6329cb7bb2d45d06af5c7ac30a433844fa7a49d")
+md5sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ # modify desktop file for binaryMode
+ sed -i "s|qmlscene /usr/share/cutegram/3.0/main.qml|/usr/bin/cutegram|" share/Cutegram.desktop
+
+ mkdir -p build
+}
+
+build() {
+ cd "${srcdir}/${pkgname}/build"
+ qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr CONFIG+=binaryMode ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/build"
+
+ install -Dm755 cutegram "${pkgdir}/usr/bin/cutegram"
+ install -Dm644 ../share/Cutegram.desktop "${pkgdir}/usr/share/applications/Cutegram.desktop"
+}
Copied: cutegram/repos/community-testing-x86_64/PKGBUILD (from rev 182830, cutegram/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-07-13 09:29:11 UTC (rev 182831)
@@ -0,0 +1,42 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# Contributor: Llumex03
+# Maintainer in Chakra: gnastyle
+# Contributor in Chakra: FranzMari from Chakra
+# Contributor in Chakra: danyf90 <daniele.formihelli at gmail.com>
+# Contributor in Chakra: totoloco <totoloco at gmx.com>
+
+pkgname=cutegram
+pkgver=2.9.5
+pkgrel=1
+pkgdesc="Telegram client by Aseman Land"
+arch=('i686' 'x86_64')
+url="http://aseman.co/cutegram"
+license=('GPL')
+depends=('libqtelegram-ae' 'telegramqml' 'aseman-qt-tools')
+optdepends=('gst-plugins-good: for audio and notification support'
+ 'gst-plugins-bad: for audio support')
+makedepends=('git')
+source=("${pkgname}"::"git+https://github.com/Aseman-Land/Cutegram.git#commit=d6329cb7bb2d45d06af5c7ac30a433844fa7a49d")
+md5sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ # modify desktop file for binaryMode
+ sed -i "s|qmlscene /usr/share/cutegram/3.0/main.qml|/usr/bin/cutegram|" share/Cutegram.desktop
+
+ mkdir -p build
+}
+
+build() {
+ cd "${srcdir}/${pkgname}/build"
+ qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr CONFIG+=binaryMode ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/build"
+
+ install -Dm755 cutegram "${pkgdir}/usr/bin/cutegram"
+ install -Dm644 ../share/Cutegram.desktop "${pkgdir}/usr/share/applications/Cutegram.desktop"
+}
More information about the arch-commits
mailing list