PKGBUILDs/community/gnome-schedule/PKGBUILD

33 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 517 2009-08-01 13:15:44Z ibiru $
# Maintainer : Biru Ionut <ionut@archlinux.ro>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gnome-schedule
pkgver=2.1.0
pkgrel=1
pkgdesc="GNOME frontend to cron and at"
arch=('i686' 'x86_64')
url="http://gnome-schedule.sourceforge.net"
license=('GPL')
depends=('gnome-panel' 'dcron' 'at' 'gnome-python' 'gconf>=2.18.0.1-4')
makedepends=('intltool' 'gnome-doc-utils>=0.11.2')
install=$pkgname.install
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-scrollkeeper
# sed -i 's#<!-- <othercredit role="maintainer"># <othercredit role="maintainer">#' help/*/gnome-schedule.xml
# sed -i 's#</othercredit> -->#</othercredit>#' help/*/gnome-schedule.xml
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install || return 1
mkdir -p $pkgdir/usr/share/gconf/schemas
gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas \
$pkgdir/etc/gconf/schemas/*.schemas
rm -rf $pkgdir/etc/gconf/schemas/
}
md5sums=('46f2c801cdd0648a5de1cdcf82d96f9e')