PKGBUILDs/community/gramps/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: Cory Farmer <rbgkofi@ameritech.net>
pkgname=gramps
pkgver=3.1.2
pkgrel=1
pkgdesc="A genealogy program for Linux."
arch=('i686' 'x86_64')
url="http://gramps-project.org"
license=('GPL')
depends=('gnome-python-extras' 'gtkspell' 'gconf')
makedepends=('gettext' 'gnome-doc-utils' 'perlxml')
install=gramps.install
source=(http://downloads.sourceforge.net/gramps/$pkgname-$pkgver.tar.gz)
md5sums=('c2e825a212524e78cae9ddbbcb96a302')
build() {
cd $startdir/src/$pkgname-$pkgver
find . -name $pkgname.desktop -exec \
sed -i 's:Application;Genealogy;:GTK;Application;Utility;:' {} \;
./configure --prefix=/usr \
--with-gconf-schema-file-dir=/etc/gconf \
--disable-schemas-install \
--disable-mime-install
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m644 src/images/$pkgname.png $startdir/pkg/usr/share/pixmaps/$pkgname.png || return 1
rm -rf $startdir/pkg/var/lib/scrollkeeper
}