1 # Maintainer: PirateJonno <j@skurvy.no-ip.org>
3 pkgname=nautilus-makepkg
6 pkgdesc='An AUR helper for the nautilus context menu'
8 url='http://www.gnome.org/'
10 depends=('glib2' 'gconf' 'gnome-desktop' 'nautilus' 'pacman')
11 makedepends=('intltool')
12 install="${pkgname}.install"
14 source=("http://cloud.github.com/downloads/PirateJonno/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
15 sha256sums=('a2ad3428ea3126a1916206f0091f5a85ed83308a0fccfae39ec69d6b0bf96a7f')
18 cd "${srcdir}/${pkgname}-${pkgver}"
20 ./configure --prefix=/usr \
22 --localstatedir=/var || return 1
25 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
27 install -m 755 -d "${pkgdir}/usr/share/gconf/schemas"
28 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas || return 1
29 rm -rf "${pkgdir}/etc"