summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67e544ab44e..fe0e3b38fd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Oct 11 10:30:58 UTC 2017
+# Thu Oct 12 10:13:23 UTC 2017
pkgbase = astroid
pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others
pkgver = 0.10.2
@@ -10,7 +10,7 @@ pkgbase = astroid
arch = i686
license = GPL
checkdepends = notmuch-runtime
- makedepends = scons
+ makedepends = meson
makedepends = git
makedepends = pkg-config
makedepends = python-gobject
diff --git a/PKGBUILD b/PKGBUILD
index aa9eccc22c3..5abb7d8c4fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/astroidmail/astroid"
license=('GPL')
groups=()
depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'libsass' 'libpeas' 'gobject-introspection')
-makedepends=('scons' 'git' 'pkg-config' 'python-gobject')
+makedepends=('meson' 'git' 'pkg-config' 'python-gobject')
checkdepends=('notmuch-runtime')
optdepends=('gvim: default editor'
'emacs: can be used as editor'
@@ -27,16 +27,20 @@ sha256sums=('ff2941786b0aad221fe428f7d2b961056ec15437ad2070860cd6f1d4d3cd653a')
build() {
cd "$srcdir/$pkgname-$pkgver"
- scons --release="$pkgver" --prefix=/usr build
+ meson build --prefix=/usr --buildtype release
+ cd build
+ ninja
}
check() {
cd "$srcdir/$pkgname-$pkgver"
- scons --release="$pkgver" --prefix=/usr test
+ cd build
+ meson test
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- scons --release="$pkgver" --install-sandbox="$pkgdir/" --prefix=/usr install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}