mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
add telegram telepathy modules, for future reference only, no build
This commit is contained in:
parent
f897f42ec1
commit
ca32b84694
39
telegram-qt-git/PKGBUILD
Normal file
39
telegram-qt-git/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
|
||||
_gitname=telegram-qt
|
||||
pkgname=telegram-qt-git
|
||||
pkgver=r477.3dd83d4
|
||||
pkgrel=1
|
||||
pkgdesc="Qt bindings for the Telegram protocol"
|
||||
arch=(i686 x86_64)
|
||||
url="https://projects.kde.org/telegram-qt/"
|
||||
license=(GPL)
|
||||
depends=(zlib qt5-base)
|
||||
makedepends=(cmake git)
|
||||
provides=$_gitname
|
||||
conflicts=$_gitname
|
||||
source=("git://anongit.kde.org/$_gitname.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $_gitname
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$_gitname \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
39
telepathy-morse-git/PKGBUILD
Normal file
39
telepathy-morse-git/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
|
||||
_gitname=telepathy-morse
|
||||
pkgname=telepathy-morse-git
|
||||
pkgver=r93.8e701b5
|
||||
pkgrel=1
|
||||
pkgdesc="Telepathy Connection Manager for the Telegram network"
|
||||
arch=(i686 x86_64)
|
||||
url="https://projects.kde.org/telepathy-morse/"
|
||||
license=(GPL)
|
||||
depends=(telepathy-qt5 telegram-qt)
|
||||
makedepends=(cmake git)
|
||||
source=("git://anongit.kde.org/$_gitname.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $_gitname
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../telepathy-morse \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user