Use the meson build system
This commit is contained in:
parent
def641a931
commit
431573465b
8
.SRCINFO
8
.SRCINFO
@ -1,8 +1,8 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Thu Mar 2 13:37:32 UTC 2017
|
# Sat Oct 7 07:27:32 UTC 2017
|
||||||
pkgbase = astroid-git
|
pkgbase = astroid-git
|
||||||
pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others
|
pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others
|
||||||
pkgver = v0.7.r56.ge4c070d
|
pkgver = v0.10.1.r29.g6d78b7f
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/astroidmail/astroid
|
url = https://github.com/astroidmail/astroid
|
||||||
install = astroid.install
|
install = astroid.install
|
||||||
@ -10,7 +10,7 @@ pkgbase = astroid-git
|
|||||||
arch = i686
|
arch = i686
|
||||||
license = GPL
|
license = GPL
|
||||||
checkdepends = notmuch-runtime
|
checkdepends = notmuch-runtime
|
||||||
makedepends = scons
|
makedepends = meson
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = pkg-config
|
makedepends = pkg-config
|
||||||
makedepends = python-gobject
|
makedepends = python-gobject
|
||||||
@ -27,7 +27,7 @@ pkgbase = astroid-git
|
|||||||
optdepends = emacs: can be used as editor
|
optdepends = emacs: can be used as editor
|
||||||
optdepends = vte3: for drop-down terminal
|
optdepends = vte3: for drop-down terminal
|
||||||
provides = astroid
|
provides = astroid
|
||||||
source = astroid::git+https://github.com/astroidmail/astroid.git
|
source = astroid::git+https://github.com/gauteh/astroid.git#branch=meson
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = astroid-git
|
pkgname = astroid-git
|
||||||
|
16
PKGBUILD
16
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Gaute Hope <eg@gaute.vetsj.com>
|
# Maintainer: Gaute Hope <eg@gaute.vetsj.com>
|
||||||
_pkgname=astroid
|
_pkgname=astroid
|
||||||
pkgname=$_pkgname-git
|
pkgname=$_pkgname-git
|
||||||
pkgver=v0.7.r56.ge4c070d
|
pkgver=v0.10.1.r29.g6d78b7f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others"
|
pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others"
|
||||||
@ -10,7 +10,7 @@ url="https://github.com/astroidmail/astroid"
|
|||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=()
|
groups=()
|
||||||
depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'libsass' 'libpeas' 'gobject-introspection')
|
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')
|
checkdepends=('notmuch-runtime')
|
||||||
optdepends=('gvim: default editor'
|
optdepends=('gvim: default editor'
|
||||||
'emacs: can be used as editor'
|
'emacs: can be used as editor'
|
||||||
@ -22,23 +22,27 @@ backup=()
|
|||||||
options=()
|
options=()
|
||||||
install=$_pkgname.install
|
install=$_pkgname.install
|
||||||
changelog=
|
changelog=
|
||||||
source=(astroid::git+https://github.com/astroidmail/astroid.git)
|
source=(astroid::git+https://github.com/gauteh/astroid.git#branch=meson)
|
||||||
noextract=()
|
noextract=()
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/astroid"
|
cd "$srcdir/astroid"
|
||||||
scons --release="$pkgver" --prefix=/usr build
|
meson build --prefix=/usr -Dbuildtype=release
|
||||||
|
cd build
|
||||||
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$srcdir/astroid"
|
cd "$srcdir/astroid"
|
||||||
scons --release="$pkgver" --prefix=/usr test
|
cd build
|
||||||
|
meson test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/astroid"
|
cd "$srcdir/astroid"
|
||||||
scons --release="$pkgver" --install-sandbox="$pkgdir/" --prefix=/usr install
|
cd build
|
||||||
|
DESTDIR="$pkgdir" ninja install
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
Loading…
Reference in New Issue
Block a user