# Contributor: Alan Lacerda # Maintainer: pkgname=mate-backgrounds pkgver=1.9.1 pkgrel=0 pkgdesc="Background images and data for MATE" url="https://github.com/mate-desktop/mate-backgrounds" arch="noarch" license="GPL2" depends="mate-common" depends_dev="" makedepends="$depends_dev intltool" install="" subpackages="" source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="45426a34ec0995f3c33f7fe4de807962 mate-backgrounds-1.9.1.tar.xz" sha256sums="29eb2931ce65e196e1ad4f58ac78ca0696051238c7b1b5638adb1409de07e1d9 mate-backgrounds-1.9.1.tar.xz" sha512sums="a6e56021a90885758a46f8a27d30c11689dd2bba42e18b49cd45fc49819f6bb099a737a5995127e02cbd338c4019d902e1852e1dcd6a344df1afdda12c9b9062 mate-backgrounds-1.9.1.tar.xz"