Add few packages
This commit is contained in:
45
src/dino-git/PKGBUILD
Normal file
45
src/dino-git/PKGBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
# Maintainer: Seppia <seppia@seppio.fish>
|
||||
# Contributor: svalo <me@valo.space>
|
||||
|
||||
pkgname=dino-git
|
||||
pkgver=r224.a8cc94c
|
||||
pkgrel=1
|
||||
pkgdesc="Simple and modern Jabber/XMPP client written in vala"
|
||||
arch=('i686' 'x86_64' 'aarch64')
|
||||
url="https://github.com/dino/dino"
|
||||
license=('GPL3')
|
||||
depends=('glib2>=2.38' 'glib-networking' 'gtk3>=3.22' 'gpgme' 'libgee>=0.10' 'libgcrypt' 'libsoup' 'sqlite')
|
||||
makedepends=('git' 'cmake' 'vala>=0.34' 'ninja')
|
||||
provides=("${pkgname%-git}")
|
||||
conflicts=("${pkgname%-git}")
|
||||
source=('dino::git+https://github.com/dino/dino')
|
||||
sha512sums=('SKIP')
|
||||
|
||||
# Any or all of the following plugin can be disabled: omemo, openpgp, http-files. Populate following string as per your needs and uncomment it
|
||||
#_DISABLE_PLUGINS="--disable-plugin='omemo;openpgp;http-files'"
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
./configure $_DISABLE_PLUGINS --prefix="/usr" --with-tests CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
|
||||
sed -i '/SrvRecordsTls/d' libdino/src/service/module_manager.vala
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
make DESTDIR="${pkgdir}/" install
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
echo "Executing xmpp-vala-test:"
|
||||
build/xmpp-vala-test
|
||||
echo
|
||||
echo "Executing signal-protocol-vala-test:"
|
||||
build/signal-protocol-vala-test
|
||||
}
|
Reference in New Issue
Block a user