Initial commit

This commit is contained in:
TBK 2020-03-17 14:14:17 +01:00
commit d8e2d97ea9
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
4 changed files with 71 additions and 0 deletions

17
.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = libqtolm
pkgdesc = A Qt wrapper for libolm
pkgver = 3.0.0
pkgrel = 1
url = https://gitlab.com/b0/libQtOlm
arch = any
license = GPL-3.0-or-later
makedepends = cmake
depends = qt5-base
depends = libolm
conflicts = libqtolm-git
replaces = libqtolm-git
source = https://gitlab.com/b0/libQtOlm/-/archive/v3.0.0/libqtolm-v3.0.0.tar.gz
b2sums = 27e3bf4ea3c735358d954ac7d48e8762be91867617231ee8b2fee3774e22bb4d9381d030b9444d9a3e85c19c524a3918f9f6b1939dd0b95607d2e9aca85214d5
pkgname = libqtolm

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg/*
src/*
*.pkg.tar.xz
*.tar.gz

33
PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: TBK <aur at jjtc dot eu>
# Contributor: TBK <aur at jjtc dot eu>
pkgname=libqtolm
pkgver=3.0.0
pkgrel=1
pkgdesc='A Qt wrapper for libolm'
url='https://gitlab.com/b0/libQtOlm'
arch=('any')
license=('GPL-3.0-or-later')
depends=('qt5-base' 'libolm')
conflicts=('libqtolm-git')
replaces=('libqtolm-git')
makedepends=('cmake')
source=("https://gitlab.com/b0/libQtOlm/-/archive/v$pkgver/libqtolm-v$pkgver.tar.gz")
_builddir="$pkgname-v$pkgver"
build() {
cd "$_builddir"
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=true .
make -C build
}
package() {
cd "$_builddir"
make -C build DESTDIR="$pkgdir" install
}
b2sums=('27e3bf4ea3c735358d954ac7d48e8762be91867617231ee8b2fee3774e22bb4d9381d030b9444d9a3e85c19c524a3918f9f6b1939dd0b95607d2e9aca85214d5')

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# libqtolm
Arch User Repository libqtolm
## Update package
* Update package version in PKGBUILD
* Generate new checksums with
```$ updpkgsums```
* Test install
```$ makepkg -si```
* Update .SRCINFO
```$ makepkg --printsrcinfo > .SRCINFO```