summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2018-05-25 20:28:31 +0200
committerMaxime Gauduin2018-05-25 20:28:31 +0200
commit1eb3129a9ed3ec96008d81f6e86a42441dfe2163 (patch)
tree23b3e891dfb4ef5c00629585f38fd4c7ddf1baf6
parent2b9d3d8720ece8632a885fb1c6a7815ada8600f7 (diff)
downloadaur-pantheon-print-git.tar.gz
Switch to meson
-rwxr-xr-x[-rw-r--r--].SRCINFO8
-rwxr-xr-x[-rw-r--r--]PKGBUILD21
2 files changed, 11 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cf9b90e2fb..c593eea0759 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Mon May 1 17:03:27 UTC 2017
+# Fri May 25 18:28:31 UTC 2018
pkgbase = pantheon-print-git
pkgdesc = Simple shim for printing support via Contractor
- pkgver = r18.b526ae8
+ pkgver = r26.28f2600
pkgrel = 1
url = https://github.com/elementary/pantheon-print
- arch = i686
arch = x86_64
license = GPL3
- makedepends = cmake
makedepends = git
+ makedepends = meson
makedepends = vala
depends = cairo
depends = contractor-git
@@ -19,7 +18,6 @@ pkgbase = pantheon-print-git
depends = pango
provides = pantheon-print
conflicts = pantheon-print
- replaces = pantheon-print-bzr
source = git+https://github.com/elementary/pantheon-print.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 75eb7693027..b2ff0475ea2 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,16 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=pantheon-print-git
-pkgver=r18.b526ae8
+pkgver=r26.28f2600
pkgrel=1
-pkgdesc=' Simple shim for printing support via Contractor'
+pkgdesc='Simple shim for printing support via Contractor'
arch=('x86_64')
url='https://github.com/elementary/pantheon-print'
license=('GPL3')
depends=('cairo' 'contractor-git' 'glib2' 'glibc' 'gtk3' 'pango')
-makedepends=('cmake' 'git' 'vala')
+makedepends=('git' 'meson' 'vala')
provides=('pantheon-print')
conflicts=('pantheon-print')
-replaces=('pantheon-print-bzr')
source=('git+https://github.com/elementary/pantheon-print.git')
sha256sums=('SKIP')
@@ -22,8 +21,6 @@ pkgver() {
}
prepare() {
- cd pantheon-print
-
if [[ -d build ]]; then
rm -rf build
fi
@@ -31,18 +28,16 @@ prepare() {
}
build() {
- cd pantheon-print/build
+ cd build
- cmake .. \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr'
- make
+ arch-meson ../pantheon-print
+ ninja
}
package() {
- cd pantheon-print/build
+ cd build
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja install
}
# vim: ts=2 sw=2 et: