View difference between Paste ID: u9FzP2za and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | # Contributor: Shawn Dellysse <sdellysse@radford.edu> |
2 | pkgname=bluecurve-icon-theme | |
3 | pkgver=8.0.2_5.fc12 | |
4 | pkgrel=1 | |
5 | pkgdesc="Red Hat Icons from Fedora 12" | |
6 | arch=('i686' 'x86_64') | |
7 | url="http://www.redhat.com" | |
8 | license=('GPL') | |
9 | groups=('redhat-artwork') | |
10 | depends=() | |
11 | makedepends=('rpmextract' 'intltool') | |
12 | conflicts=('xcursor-bluecurve') | |
13 | replaces=('xcursor-bluecurve') | |
14 | optdepends=() | |
15 | source=(http://download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/source/SRPMS/bluecurve-icon-theme-8.0.2-5.fc12.src.rpm) | |
16 | md5sums=('5fff83b08fc1b94af1ebffbe2e79dadc') | |
17 | ||
18 | build() { | |
19 | cd $srcdir | |
20 | mkdir ./archives | |
21 | cd ./archives | |
22 | ||
23 | # extracting rpm's | |
24 | for x in ../*.rpm; do | |
25 | rpmextract.sh $x | |
26 | done | |
27 | # extracting archives | |
28 | for x in ./*.tar.bz2; do | |
29 | tar -xvjf $x | |
30 | done | |
31 | rm -r ./*.tar.bz2 | |
32 | rm -r ./*.spec | |
33 | ||
34 | # installing themes | |
35 | for x in ./*/; do | |
36 | cd $x | |
37 | ./configure --prefix=/usr | |
38 | cd ./theme | |
39 | make install DESTDIR=$pkgdir || return 1 | |
40 | cd ../../ | |
41 | done | |
42 | ||
43 | # cleaning | |
44 | rm -rf ./*/ | |
45 | } |