[arch-commits] Commit in elementary-icon-theme/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Nov 2 15:35:49 UTC 2017
Date: Thursday, November 2, 2017 @ 15:35:48
Author: alucryd
Revision: 265170
upgpkg: elementary-icon-theme 4.3.1-1
Modified:
elementary-icon-theme/trunk/PKGBUILD
----------+
PKGBUILD | 35 ++++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-02 15:29:52 UTC (rev 265169)
+++ PKGBUILD 2017-11-02 15:35:48 UTC (rev 265170)
@@ -5,29 +5,38 @@
# Contributor: Josip <josipponjavic at gmail.com>
pkgname=elementary-icon-theme
-pkgver=4.2.0
+pkgver=4.3.1
pkgrel=1
-pkgdesc='An icon theme designed to be smooth, sexy, clear, and efficient'
+pkgdesc='Named, vector icons for elementary OS'
arch=('any')
-url='https://launchpad.net/elementaryicons'
+url='https://github.com/elementary/icons'
license=('GPL3')
-depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
-options=('!emptydirs' '!strip')
-source=("https://launchpad.net/elementaryicons/${pkgver%%.*}.x/${pkgver}/+download/elementary-icon-theme-${pkgver}.tar.xz")
-sha256sums=('7505f498f712713415bc8a5468cd20fba9689cd7b42878659bad1118294c3470')
+groups=('pantheon')
+depends=('hicolor-icon-theme')
+makedepends=('cmake')
+source=("elementary-icon-theme-${pkgver}.tar.gz::https://github.com/elementary/icons/archive/${pkgver}.tar.gz")
+sha256sums=('2fcb35760aa3285a17ecd5ef127fe5384a20cb6e86c2b4cd9ed7942063a70a10')
prepare() {
- cd elementary-icon-theme-${pkgver}
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
- rm AUTHORS CONTRIBUTORS COPYING
+build() {
+ cd build
+
+ cmake ../icons-${pkgver} \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ make
}
package() {
- install -dm 755 "${pkgdir}"/usr/share/icons
- cp -dr --no-preserve='ownership' elementary-icon-theme-${pkgver} "${pkgdir}"/usr/share/icons/elementary
+ cd build
- find "${pkgdir}" -type d -exec chmod 755 {} +
- find "${pkgdir}" -type f -exec chmod 644 {} +
+ make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list