Date: Tuesday, March 17, 2020 @ 09:21:15 Author: felixonmars Revision: 600031
upgpkg: ukui-themes 1.2.0-1 Modified: ukui-themes/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-03-17 09:16:44 UTC (rev 600030) +++ PKGBUILD 2020-03-17 09:21:15 UTC (rev 600031) @@ -1,8 +1,7 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> pkgname=ukui-themes -pkgver=0.0.0+git20200225 -_commit=9e9b986593a28eeff716d0d03a04567f1f24add6 +pkgver=1.2.0 pkgrel=1 pkgdesc="Official themes for the UKUI desktop" arch=('any') @@ -10,21 +9,28 @@ url="https://github.com/ukui/ukui-themes" groups=('ukui') depends=('dconf') -makedepends=('sassc') -source=("$pkgname-$_commit.tar.gz::https://github.com/ukui/ukui-themes/archive/$_commit.tar.gz") -sha512sums=('6fec88baf4bae1c2a23527cde2963bc3e614b6fa3d493c51199b803978cb43b102f8b17056ac5ba6756e700bc6343211393842860caeef5e67b9a171ce838927') +makedepends=('ruby-sass') +source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-themes/archive/v$pkgver.tar.gz" + ukui-themes-fix-icon-theme.patch::https://github.com/ukui/ukui-themes/pull/19.patch) +sha512sums=('53d4eb00e17721757e8f99a37726c9d61aa73a5ce302d0329b6a297381c2f18b2520cd4552d5e0c5c9b03f8b07b2b4d70e532ff4fb9982a7a6ef4ec6f723ec92' + '0ce3e7f951bdabb1c8c8253351b9a77c064ef4f6e002ca5dcbe23770e0e03d46b9d6e9f283567f850dc7c3abd7d92dbb513a90e47aec499dc515c74faeb45c58') +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../ukui-themes-fix-icon-theme.patch +} + build() { - cd $pkgname-$_commit - make SASS=sassc + cd $pkgname-$pkgver + make } package() { - cd $pkgname-$_commit + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - install -Dm644 debian/25_ukui-themes.gschema.override -t "$pkgdir"/usr/share/glib-2.0/schemas + install -Dm644 debian/25_ukui-themes.gschema.override -t "$pkgdir"/usr/share/glib-2.0/schemas/ install -dm755 "$pkgdir"/usr/share/icons - cp -a ukui-icon-theme "$pkgdir"/usr/share/icons/ - cp -a ukui-theme "$pkgdir"/usr/share/themes/ + cp -a ukui-icon-theme* "$pkgdir"/usr/share/icons/ + install -Dm644 ukui-custom.xml -t "$pkgdir"/usr/share/mime/packages/ }