use meson instead of cmake in build process

This commit is contained in:
Sebastian Gumprich 2018-11-11 15:39:38 +01:00
parent e197156b98
commit 04f56afd82
2 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,13 @@
pkgbase = indicator-kdeconnect-git pkgbase = indicator-kdeconnect-git
pkgdesc = Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity) pkgdesc = Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)
pkgver = r365.f9dcb09 pkgver = r596.138ccfc
pkgrel = 1 pkgrel = 1
url = https://github.com/bajoja/indicator-kdeconnect url = https://github.com/bajoja/indicator-kdeconnect
arch = any arch = any
license = GPL license = GPL
makedepends = git makedepends = git
makedepends = cmake makedepends = meson
makedepends = ninja
depends = libappindicator-gtk3 depends = libappindicator-gtk3
depends = kdeconnect depends = kdeconnect
depends = vala depends = vala

View File

@ -2,7 +2,7 @@
# Contributor: shimi <shimi.chen@gmail.com> # Contributor: shimi <shimi.chen@gmail.com>
# Contributor: Gustavo Castro <gustawho at gmail dot com> # Contributor: Gustavo Castro <gustawho at gmail dot com>
pkgname=indicator-kdeconnect-git pkgname=indicator-kdeconnect-git
pkgver=r365.f9dcb09 pkgver=r596.138ccfc
pkgrel=1 pkgrel=1
_gitname=indicator-kdeconnect _gitname=indicator-kdeconnect
pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)" pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)"
@ -12,7 +12,7 @@ license=('GPL')
conflicts=('indicator-kdeconnect') conflicts=('indicator-kdeconnect')
provides=('indicator-kdeconnect') provides=('indicator-kdeconnect')
depends=('libappindicator-gtk3' 'kdeconnect' 'vala' 'python-requests-oauthlib' 'python-gobject') depends=('libappindicator-gtk3' 'kdeconnect' 'vala' 'python-requests-oauthlib' 'python-gobject')
makedepends=('git' 'cmake') makedepends=('git' 'meson' 'ninja')
source=('git://github.com/bajoja/indicator-kdeconnect.git') source=('git://github.com/bajoja/indicator-kdeconnect.git')
md5sums=('SKIP') md5sums=('SKIP')
@ -25,7 +25,6 @@ package() {
cd indicator-kdeconnect cd indicator-kdeconnect
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr meson .. --prefix=/usr/ --libdir=/usr/lib/
make ninja
make DESTDIR="${pkgdir}" install
} }