updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nautilus-makepkg / PKGBUILD
blob8f5e916ba9fa2838dd0b1d24ab240583f1c896cf
1 # Maintainer: PirateJonno <j@skurvy.no-ip.org>
3 pkgname=nautilus-makepkg
4 pkgver=2.30.0
5 pkgrel=2
6 pkgdesc='An AUR helper for the nautilus context menu'
7 arch=('i686' 'x86_64')
8 url='http://www.gnome.org/'
9 license=('GPL')
10 depends=('glib2' 'gconf' 'gnome-desktop' 'nautilus' 'pacman')
11 makedepends=('intltool')
12 install="${pkgname}.install"
13 options=('!libtool')
14 source=("http://cloud.github.com/downloads/PirateJonno/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
15 sha256sums=('a2ad3428ea3126a1916206f0091f5a85ed83308a0fccfae39ec69d6b0bf96a7f')
17 build() {
18         cd "${srcdir}/${pkgname}-${pkgver}"
19         
20         ./configure --prefix=/usr \
21                 --sysconfdir=/etc \
22                 --localstatedir=/var || return 1
23         
24         make -s || return 1
25         make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
26         
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"