Skip to content

Commit

Permalink
pkg: danctnix: libpurple-lurch: new pkgbuild
Browse files Browse the repository at this point in the history
Closes #116

Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Jan 21, 2021
1 parent d5c6149 commit d2253f1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions PKGBUILDS/danctnix/libpurple-lurch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Maintainer: Frederik Schwan <freswa at archlinux dot org>

pkgname=libpurple-lurch
pkgver=0.6.9_dev
pkgrel=1
pkgdesc='Plugin for libpurple (Pidgin, Adium, etc) implementing OMEMO (using axolotl)'
arch=('x86_64' 'armv7h' 'aarch64')
url='https://github.com/gkdr/lurch'
license=('GPL')
makedepends=('cmake' 'git')
depends=('libpurple' 'mxml' 'libxml2' 'sqlite' 'libgcrypt')
optdepends=('libpurple-carbons: message carbons support')
_commit=6b6cdcac050bf4d41ff0e855d486ea015a271e1c # branch/dev
source=("git+https://github.com/gkdr/lurch.git#commit=${_commit}"
'git+https://github.com/gkdr/axc'
'git+https://github.com/gkdr/libomemo'
'git+https://github.com/WhisperSystems/libsignal-protocol-c.git')
b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')

prepare() {
cd ${pkgname##libpurple-}
git submodule init
git config submodule.'lib/axc'.url "${srcdir}"/axc
git config submodule.'lib/libomemo'.url "${srcdir}"/libomemo
git submodule update --recursive
cd lib/axc
git config submodule.'lib/libsignal-protocol-c'.url "${srcdir}"/libsignal-protocol-c
cd "${srcdir}"/${pkgname##libpurple-}
git submodule update --recursive
}

build() {
cd ${pkgname##libpurple-}
make
}

package() {
cd ${pkgname##libpurple-}
make DESTDIR="${pkgdir}" install
}

0 comments on commit d2253f1

Please sign in to comment.