diff options
author | Florian Bruhin | 2018-09-10 16:37:14 +0200 |
---|---|---|
committer | Florian Bruhin | 2018-09-10 16:37:14 +0200 |
commit | f13522fe4dc63a82dfc6a5f82b93cc64a91c07c2 (patch) | |
tree | 2e72e5d523671b3995ac118179e148698cefb431 /PKGBUILD | |
download | aur-libdeltachat-core-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c709d4e9f3c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org> + +pkgname=libdeltachat-core-git +pkgver=v0.20.0.r82.g1d11566a +pkgrel=1 +pkgdesc="Library that provides the core functionality needed by the different user interfaces of deltachat." +arch=(x86_64) +url="https://github.com/deltachat/deltachat-core" +license=('GPL') +#depends=('libetpan' 'openssl' 'sqlite' 'libsasl' 'zlib' 'bzip2') +depends=('openssl' 'sqlite' 'libsasl' 'zlib' 'bzip2') +makedepends=('meson') +source=(git+https://github.com/deltachat/deltachat-core.git) +sha1sums=('SKIP') +options=('debug' '!strip') + +pkgver() { + cd deltachat-core + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { +#meson --prefix /usr --buildtype=plain -Dsystem-etpan=true deltachat-core build + meson --prefix /usr --buildtype=plain deltachat-core build + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} |