diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 19 insertions, 8 deletions
@@ -1,16 +1,15 @@ # Generated by makepkg 5.2.0 -# Sat Oct 26 19:06:24 UTC 2019 +# Thu Oct 31 09:03:35 UTC 2019 pkgbase = bluecurve-icon-theme pkgdesc = Red Hat Icons from Fedora 10 pkgver = 8.0.2 - pkgrel = 23 + pkgrel = 24 url = https://fedorahosted.org/bluecurve/ arch = any groups = redhat-artwork license = GPL makedepends = python optdepends = gnome-icon-theme: for inheriting missing icons - conflicts = xcursor-bluecurve options = !emptydirs source = https://src.fedoraproject.org/repo/pkgs/bluecurve-icon-theme/bluecurve-icon-theme-8.0.2.tar.bz2/3a3ecac0922f964bb1c4be617e8dec37/bluecurve-icon-theme-8.0.2.tar.bz2 md5sums = 3a3ecac0922f964bb1c4be617e8dec37 @@ -4,7 +4,7 @@ pkgname=bluecurve-icon-theme pkgver=8.0.2 -pkgrel=23 +pkgrel=24 _md5=3a3ecac0922f964bb1c4be617e8dec37 pkgdesc="Red Hat Icons from Fedora 10" @@ -14,7 +14,6 @@ license=('GPL') groups=('redhat-artwork') makedepends=('python') optdepends=('gnome-icon-theme: for inheriting missing icons') -conflicts=('xcursor-bluecurve') options=(!emptydirs) source=("https://src.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$pkgver.tar.bz2/${_md5}/$pkgname-$pkgver.tar.bz2") @@ -24,20 +23,29 @@ build() { cd "$srcdir/$pkgname-$pkgver" msg2 "Call upstream make" + ./configure --prefix="$pkgdir/usr" make cd theme + msg2 "Aliases Bluecurve to Bluecurve8" + + # This is to avoid conflicts with community xcursor-bluecurve package + mv Bluecurve Bluecurve8 + sed -i "s/^Name=Bluecurve$/Name=Bluecurve8/" Bluecurve8/index.theme + sed -i 's/name="Bluecurve"/name="Bluecurve8"/' Bluecurve8/Bluecurve.cursortheme + mv Bluecurve8/Bluecurve.cursortheme Bluecurve8/Bluecurve8.cursortheme + msg2 "Remove now useless Make files" - for theme in Bluecurve Bluecurve-inverse LBluecurve LBluecurve-inverse; do + for theme in Bluecurve8 Bluecurve-inverse LBluecurve LBluecurve-inverse; do find . -type f -name "Makefile*" -exec rm {} \; find . -type f -name "*.in" -exec rm {} \; find . -type f -name "*.icon" -exec rm {} \; done - cd Bluecurve + cd Bluecurve8 msg2 "Patch index.theme and symlink.manifest" @@ -202,6 +210,10 @@ PYSCRIPT python read_manifest.py rm read_manifest.py symlink.manifest + # Prefer old watch cursor + rm cursors/watch + mv cursors/_watch-old_ cursors/watch + # Remove broken links if any find -L . -type l -exec rm {} \; @@ -216,7 +228,7 @@ package() { install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE install -D -m644 AUTHORS $pkgdir/usr/share/licenses/$pkgname/AUTHORS - for theme in Bluecurve Bluecurve-inverse LBluecurve LBluecurve-inverse; do + for theme in Bluecurve8 Bluecurve-inverse LBluecurve LBluecurve-inverse; do cp -R theme/$theme $pkgdir/usr/share/icons/ done } |