[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon May 18 20:20:32 UTC 2020


    Date: Monday, May 18, 2020 @ 20:20:32
  Author: felixonmars
Revision: 629667

addpkg: ubuntukylin-wallpapers 20.04.1-1

Added:
  ubuntukylin-wallpapers/
  ubuntukylin-wallpapers/repos/
  ubuntukylin-wallpapers/trunk/
  ubuntukylin-wallpapers/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: ubuntukylin-wallpapers/trunk/PKGBUILD
===================================================================
--- ubuntukylin-wallpapers/trunk/PKGBUILD	                        (rev 0)
+++ ubuntukylin-wallpapers/trunk/PKGBUILD	2020-05-18 20:20:32 UTC (rev 629667)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ubuntukylin-wallpapers
+pkgver=20.04.1
+pkgrel=1
+pkgdesc="Ubuntu Kylin Wallpapers"
+arch=('any')
+license=('GPL')
+url="https://github.com/UbuntuKylin/ubuntukylin-wallpapers"
+groups=('ukui')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/UbuntuKylin/ubuntukylin-wallpapers/archive/v$pkgver.tar.gz")
+sha512sums=('8a2136c25c06fbc3fefb682be76e76773d10801fa1b67a6783708b4dfe187148f0d288c8b01fb47ec934ab2d60324864560bb7500a44215bd0fbe0a9d67f2542')
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm644 *.jpg *.png -t "$pkgdir"/usr/share/backgrounds/
+  install -Dm644 ubuntukylin/* -t "$pkgdir"/usr/share/backgrounds/ubuntukylin/
+
+  install -dm755 "$pkgdir"/usr/share/{gnome,ukui}-background-properties
+  for _f in *.xml.in; do
+    # TODO support i18n properly
+    sed -e 's/_name>/name>/g' $_f > "$pkgdir"/usr/share/ukui-background-properties/${_f%.in}
+    ln -s ../ukui-background-properties/${_f%.in} "$pkgdir"/usr/share/gnome-background-properties/
+  done
+}



More information about the arch-commits mailing list