[arch-commits] Commit in capitaine-cursors/repos/community-any (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Thu Feb 20 16:07:25 UTC 2020


    Date: Thursday, February 20, 2020 @ 16:07:25
  Author: yan12125
Revision: 577281

archrelease: copy trunk to community-any

Added:
  capitaine-cursors/repos/community-any/PKGBUILD
    (from rev 577280, capitaine-cursors/trunk/PKGBUILD)
Deleted:
  capitaine-cursors/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   60 +++++++++++++++++++++++++++---------------------------------
 1 file changed, 27 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-20 16:00:01 UTC (rev 577280)
+++ PKGBUILD	2020-02-20 16:07:25 UTC (rev 577281)
@@ -1,33 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan121215 at archlinux.org>
-# Contributor: Ye Jingchen <ye.jingchen at gmail.com>
-
-pkgname=capitaine-cursors
-pkgver=3
-pkgrel=2
-pkgdesc="An x-cursor theme inspired by macOS and based on KDE Breeze"
-arch=(any)
-url="https://github.com/keeferrourke/capitaine-cursors"
-license=(LGPL3)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/keeferrourke/$pkgname/archive/r$pkgver.tar.gz")
-makedepends=(inkscape xorg-xcursorgen)
-sha256sums=('226258d7d07648c27d8ecfb2085a1af4bcc37e49df497fcd371950f7c42ae090')
-
-prepare() {
-  cd $pkgname-r$pkgver
-  # Remove prebuilt assets
-  rm -rf dist/
-}
-
-build() {
-  cd $pkgname-r$pkgver
-  bash -e ./build.sh
-}
-
-package() {
-  cd $pkgname-r$pkgver
-  install -Ddm755 "$pkgdir/usr/share/icons"
-  cp -dr --no-preserve=ownership dist/ "$pkgdir/usr/share/icons/capitaine-cursors"
-  # inconsistency naming in upstream releases...
-  # https://github.com/keeferrourke/capitaine-cursors/releases
-  cp -dr --no-preserve=ownership dist-white/ "$pkgdir/usr/share/icons/capitaine-cursors-light"
-}

Copied: capitaine-cursors/repos/community-any/PKGBUILD (from rev 577280, capitaine-cursors/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-20 16:07:25 UTC (rev 577281)
@@ -0,0 +1,27 @@
+# Maintainer: Chih-Hsuan Yen <yan121215 at archlinux.org>
+# Contributor: Ye Jingchen <ye.jingchen at gmail.com>
+
+pkgname=capitaine-cursors
+pkgver=4
+pkgrel=1
+pkgdesc="An x-cursor theme inspired by macOS and based on KDE Breeze"
+arch=(any)
+url="https://github.com/keeferrourke/capitaine-cursors"
+license=(LGPL3)
+source=("https://github.com/keeferrourke/$pkgname/archive/r$pkgver/$pkgname-$pkgver.tar.gz")
+makedepends=(inkscape xorg-xcursorgen bc)
+sha256sums=('41f66e9f4d41729dc5e9185aab3bc4a719fdcca939e6f3f590b6b811b28dedd2')
+
+build() {
+  cd $pkgname-r$pkgver
+  for variant in dark light ; do
+    ./build.sh --max-dpi xxxhd --type $variant
+  done
+}
+
+package() {
+  cd $pkgname-r$pkgver
+  install -Ddm755 "$pkgdir/usr/share/icons"
+  cp -dr --no-preserve=ownership dist/dark/ "$pkgdir/usr/share/icons/capitaine-cursors"
+  cp -dr --no-preserve=ownership dist/light/ "$pkgdir/usr/share/icons/capitaine-cursors-light"
+}



More information about the arch-commits mailing list