summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉtienne Deparis2015-09-30 01:41:04 +0200
committerÉtienne Deparis2015-09-30 01:41:04 +0200
commit99a299f57fc98bc222b45ea94e6dce3006293056 (patch)
treefec5cf1f55bb2a14f444ea6c5d6eb5dbb044560c
parent44846a373efda9c84dd29d8bb1403736c5751b88 (diff)
downloadaur-99a299f57fc98bc222b45ea94e6dce3006293056.tar.gz
Cleaner PKGBUILD. Change folder name and theme name to avoid conflict with xcursor-bluecurve in community
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD17
2 files changed, 17 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c9097ac912f..8380ca5e8585 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 4.2.1
-# Tue Sep 29 23:09:53 UTC 2015
+# Tue Sep 29 23:40:16 UTC 2015
pkgbase = bluecurve-icon-theme
pkgdesc = Red Hat Icons from Fedora 10
pkgver = 8.0.2
- pkgrel = 11
+ pkgrel = 12
url = https://fedorahosted.org/bluecurve/
arch = any
groups = redhat-artwork
diff --git a/PKGBUILD b/PKGBUILD
index 55c586d51371..29b6b7a2a401 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bluecurve-icon-theme
pkgver=8.0.2
_rhpkgrel=11
_rhpkgver=21
-pkgrel=11
+pkgrel=12
pkgdesc="Red Hat Icons from Fedora 10"
arch=('any')
url="https://fedorahosted.org/bluecurve/"
@@ -19,6 +19,19 @@ optdepends=(
source=("ftp://rpmfind.net/linux/fedora/linux/releases/${_rhpkgver}/Everything/x86_64/os/Packages/b/bluecurve-icon-theme-${pkgver}-${_rhpkgrel}.fc${_rhpkgver}.noarch.rpm")
sha256sums=('90ecc04a23776931158774b432df93102d99ca5f0509a75e3695cb0a502c5d91')
+build() {
+ cd $srcdir/usr/share/icons
+ mv Bluecurve BluecurveRH
+ sed -i s/Name=Bluecurve/Name=BluecurveRH/ BluecurveRH/index.theme
+}
+
package() {
- cp -R "$srcdir/usr" "$pkgdir"
+ install -d -m755 $pkgdir/usr/share/icons
+ install -d -m755 $pkgdir/usr/share/licenses/$pkgname
+
+ cd $srcdir/usr/share/doc/$pkgname
+ install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 AUTHORS $pkgdir/usr/share/licenses/$pkgname/AUTHORS
+
+ cp -R $srcdir/usr/share/icons/BluecurveRH $pkgdir/usr/share/icons/
}