summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2018-05-25 20:13:39 +0200
committerMaxime Gauduin2018-05-25 20:13:39 +0200
commita5103de87ca0ebcceec770aa9fe584d61398a9c9 (patch)
treef298a83381b26ca3bc684031c7cbb44673051d58
parent19ffb4a12caf765a106fdec358656d51195085a6 (diff)
downloadaur-a5103de87ca0ebcceec770aa9fe584d61398a9c9.tar.gz
Switch to meson
-rwxr-xr-x[-rw-r--r--].SRCINFO7
-rwxr-xr-x[-rw-r--r--]PKGBUILD17
2 files changed, 14 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 163d799e1f2..ee254cbb72d 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
# Generated by mksrcinfo v8
-# Tue Mar 27 18:39:52 UTC 2018
+# Fri May 25 18:13:39 UTC 2018
pkgbase = elementary-icon-theme-git
pkgdesc = Named, vector icons for elementary OS
- pkgver = r2159.22235cb7
+ pkgver = r2236.4cdca93d
pkgrel = 1
url = https://github.com/elementary/icons
arch = any
groups = pantheon-unstable
license = GPL3
- makedepends = cmake
makedepends = git
- depends = gtk-update-icon-cache
+ makedepends = meson
depends = hicolor-icon-theme
provides = elementary-icon-theme
conflicts = elementary-icon-theme
diff --git a/PKGBUILD b/PKGBUILD
index 7fa8e5070bc..abf6278ba97 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=elementary-icon-theme-git
-pkgver=r2159.22235cb7
+pkgver=r2236.4cdca93d
pkgrel=1
pkgdesc='Named, vector icons for elementary OS'
arch=('any')
url='https://github.com/elementary/icons'
license=('GPL3')
groups=('pantheon-unstable')
-depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
-makedepends=('cmake' 'git')
+depends=('hicolor-icon-theme')
+makedepends=('git' 'meson')
provides=('elementary-icon-theme')
conflicts=('elementary-icon-theme')
options=('!emptydirs')
@@ -29,12 +29,17 @@ prepare() {
mkdir build
}
+build() {
+ cd build
+
+ arch-meson ../elementary-icon-theme
+ ninja
+}
+
package() {
cd build
- cmake ../elementary-icon-theme \
- -DCMAKE_INSTALL_PREFIX='/usr'
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja install
}
# vim: ts=2 sw=2 et: