[arch-commits] Commit in telegram-qt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:35:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:35:41
  Author: felixonmars
Revision: 659796

archrelease: copy trunk to community-staging-x86_64

Added:
  telegram-qt/repos/community-staging-x86_64/
  telegram-qt/repos/community-staging-x86_64/PKGBUILD
    (from rev 659795, telegram-qt/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: telegram-qt/repos/community-staging-x86_64/PKGBUILD (from rev 659795, telegram-qt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:35:41 UTC (rev 659796)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=telegram-qt
+pkgver=0.1.0
+pkgrel=4
+pkgdesc="Qt bindings for the Telegram protocol"
+arch=(x86_64)
+url="https://github.com/Kaffeine/telegram-qt"
+license=(GPL)
+depends=(qt5-base)
+makedepends=(cmake)
+source=("https://github.com/Kaffeine/telegram-qt/archive/$pkgname-$pkgver.tar.gz")
+md5sums=('fcc498a8c2655ee0d9877b1784e76cec')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list