PKGBUILDs/extra/gnome-blog/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
1 KiB
Bash

# $Id: PKGBUILD 31073 2009-03-24 09:17:23Z douglas $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <kritoke@nospam.gmail.com>
pkgname=gnome-blog
pkgver=0.9.1
pkgrel=2
pkgdesc="A gnome application that allows you to post entries to many different blog formats."
arch=(i686 x86_64)
license=('GPL')
depends=('gnome-python')
makedepends=('pkgconfig' 'perlxml')
install=gnome-blog.install
url="http://www.gnome.org/~seth/gnome-blog/"
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.9/${pkgname}-${pkgver}.tar.bz2)
md5sums=('5eb8a04aadf33554a2087589a0025ecc')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-blog \
--localstatedir=/var
make || return 1
make DESTDIR=${startdir}/pkg install
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}