From anonymous, 1 Week ago, written in Bash.
Embed
  1. # Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
  2.  
  3. pkgname=libdeltachat-core-git
  4. pkgver=v0.20.0.r82.g1d11566a
  5. pkgrel=1
  6. pkgdesc="Library that provides the core functionality needed by the different user interfaces of deltachat."
  7. arch=(x86_64)
  8. url="https://github.com/deltachat/deltachat-core"
  9. license=('GPL')
  10. #depends=('libetpan' 'openssl' 'sqlite' 'libsasl' 'zlib' 'bzip2')
  11. depends=('openssl' 'sqlite' 'libsasl' 'zlib' 'bzip2')
  12. makedepends=('meson')
  13. source=(git+https://github.com/deltachat/deltachat-core.git#branch=pytest2)
  14. sha1sums=('SKIP')
  15. options=('debug' '!strip')
  16.  
  17. pkgver() {
  18.   cd deltachat-core
  19.   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  20. }
  21.  
  22. build() {
  23. #meson --prefix /usr --buildtype=plain -Dsystem-etpan=true deltachat-core build
  24.   meson --prefix /usr --buildtype=plain deltachat-core build
  25.   ninja -C build
  26. }
  27.  
  28. package() {
  29.   DESTDIR="$pkgdir" ninja -C build install
  30. }
  31.