[arch-commits] Commit in elementary-icon-theme/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Oct 19 09:01:57 UTC 2018
Date: Friday, October 19, 2018 @ 09:01:56
Author: alucryd
Revision: 397303
upgpkg: elementary-icon-theme 5.0-1
Modified:
elementary-icon-theme/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-19 07:01:06 UTC (rev 397302)
+++ PKGBUILD 2018-10-19 09:01:56 UTC (rev 397303)
@@ -4,8 +4,8 @@
# Contributor: Josip <josipponjavic at gmail.com>
pkgname=elementary-icon-theme
-pkgver=4.3.1
-pkgrel=2
+pkgver=5.0
+pkgrel=1
pkgdesc='Named, vector icons for elementary OS'
arch=('any')
url='https://github.com/elementary/icons'
@@ -12,29 +12,18 @@
license=('GPL3')
groups=('pantheon')
depends=('hicolor-icon-theme')
-makedepends=('cmake' 'git')
+makedepends=('git' 'meson')
source=("elementary-icon-theme::git+https://github.com/elementary/icons.git#tag=${pkgver}")
sha256sums=('SKIP')
-prepare() {
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-}
-
build() {
- cd build
-
- cmake ../elementary-icon-theme \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr'
- make
+ arch-meson elementary-icon-theme build
+ ninja -C build
}
package() {
- make DESTDIR="${pkgdir}" -C build install
- rm "${pkgdir}"/.VolumeIcon.*
+ DESTDIR="${pkgdir}" ninja -C build install
+ rm -rf "${pkgdir}"/.VolumeIcon.*
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list