summaryrefslogtreecommitdiff
path: root/pcr/gtk-engine-equinox/PKGBUILD
blob: df6a27ea1b59bc8a21abb25614ad55e9fa42e301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer (Arch): SpepS <dreamspepser at yahoo dot it>
# Contributor (Arch): Frikilinux <frikilinux at frikilinux.com.ar>

pkgname=gtk-engine-equinox
pkgver=1.50
pkgrel=3
pkgdesc="A heavily modified version of the beautiful Aurora engine"
url="http://gnome-look.org/content/show.php/Equinox+GTK+Engine?content=121881"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2')
makedepends=('libtool')
options=('!libtool')
source=("http://gnome-look.org/CONTENT/content-files/121881-equinox-$pkgver.tar.gz")
sha256sums=('0cf8b8cc841e0da7d4a08ab5a70d3bb330fd76bdcb03165a47aaddcd47e02227')

build() {
  cd "$srcdir/equinox-$pkgver"

  # toolbar fix
  sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \
    src/equinox_style.c

  # glib2 fix
  sed -i "/gtimer/d" src/animation.c
        
  ./configure --prefix=/usr \
              --enable-animation
  make
}
package() {
  cd "$srcdir/equinox-$pkgver"
  make DESTDIR="$pkgdir/" install
}