updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / nautilus2-wallpaper / PKGBUILD
blobebcc8ccc03961c4e741be8e8c7954100bd76d027
1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
2 # Contributor: Alessandro Nakamuta <alessandro dot ufms at gmail dot com>
3 # Contributor: 3ED <krzysztof1987 at gmail dot com>
5 pkgname=nautilus2-wallpaper
6 tarname=nautilus-wallpaper
7 pkgver=0.1
8 pkgrel=1
9 pkgdesc="A nautilus extension to set your desktop wallpaper from the context menu"
10 url="http://www.gnome.org/"
11 arch=('i686' 'x86_64')
12 license=('GPL')
13 depends=('nautilus2')
14 makedepends=('intltool')
15 options=('!libtool')
17 source=("${tarname}-0.1.tar.gz"
18         "01_add_gconf_pkgconfig.patch"
19         "02_move_to_extensions-2.patch"
20         "03_fix_doc_prefix.patch"
21         "04_add_icon.patch")
22 md5sums=('e47350626509c85dd9339d0b98900dd6'
23          '1b05fa6983061df794c4d462b2d8ed28'
24          '7601e33bbf4cff550f0b974f6bc0e062'
25          '25569f0797abf01aa6596b7fa37ba8a1'
26          '0bc679e2a95c02238d1357cc946dfeab')
28 build() {
29   cd "${srcdir}/${tarname}-${pkgver}"
31   patch -Np1 -i ${srcdir}/01_add_gconf_pkgconfig.patch
32   patch -Np1 -i ${srcdir}/02_move_to_extensions-2.patch
33   patch -Np1 -i ${srcdir}/03_fix_doc_prefix.patch
34   patch -Np1 -i ${srcdir}/04_add_icon.patch
36   ./configure --prefix=/usr
37   make
40 package() {
41   cd "${srcdir}/${tarname}-${pkgver}"
43   make DESTDIR="${pkgdir}" install