# $Id$
# Maintainer: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Hilinus <itahilinus[at]hotmail[dot]it>
_pkgname=gtk-engine-unico
pkgname=gtk-engine-unico-patch
pkgver=1.0.2
pkgrel=3
pkgdesc="Unico GTK3 theme engine"
arch=('i686' 'x86_64')
url="https://launchpad.net/unico"
license=('GPL')
depends=("gtk3")
provides=('gtk-engine-unico')
options=(!libtool)
source=("http://launchpad.net/unico/1.0/$pkgver/+download/${_pkgname#gtk-engine-}-$pkgver.tar.gz"
"https://code.launchpad.net/~robert-ancell/unico/disable-border-radius/+merge/110231/+preview-diff/+files/preview.diff")
md5sums=('19fb3ecc36d4d13b4a76e26a4ebd6412' 'a85b322aad3f2d1b5a815ac31d43f7ea')
build() {
cd ${srcdir}/${_pkgname#gtk-engine-}-$pkgver
patch -p0 < '../../preview.diff'
./configure --prefix=/usr --disable-static
make
}
package() {
cd ${srcdir}/${_pkgname#gtk-engine-}-$pkgver
make DESTDIR=${pkgdir} install
}