[arch-commits] Commit in elementary-icon-theme/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Aug 31 08:58:06 UTC 2018


    Date: Friday, August 31, 2018 @ 08:58:05
  Author: alucryd
Revision: 375826

upgpkg: elementary-icon-theme 4.3.1-2

Modified:
  elementary-icon-theme/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-31 08:52:23 UTC (rev 375825)
+++ PKGBUILD	2018-08-31 08:58:05 UTC (rev 375826)
@@ -6,7 +6,7 @@
 
 pkgname=elementary-icon-theme
 pkgver=4.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Named, vector icons for elementary OS'
 arch=('any')
 url='https://github.com/elementary/icons'
@@ -13,9 +13,9 @@
 license=('GPL3')
 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')
+makedepends=('cmake' 'git')
+source=("elementary-icon-theme::git+https://github.com/elementary/icons.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
 prepare() {
   if [[ -d build ]]; then
@@ -27,7 +27,7 @@
 build() {
   cd build
 
-  cmake ../icons-${pkgver} \
+  cmake ../elementary-icon-theme \
     -DCMAKE_BUILD_TYPE='Release' \
     -DCMAKE_INSTALL_PREFIX='/usr'
   make
@@ -34,9 +34,8 @@
 }
 
 package() {
-  cd build
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C build install
+  rm "${pkgdir}"/.VolumeIcon.*
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list