PKGBUILDs/community/glipper/PKGBUILD

30 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Pbl Gomez <pblgomez@gmail.com>
pkgname=glipper
pkgver=1.0
pkgrel=8
pkgdesc="Clipboard for gnome desktop"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/glipper/"
license=("GPL")
depends=(python pygtk gnome-python gnome-python-desktop gnome-python-extras gnome-desktop pygobject)
makedepends=(pkgconfig perlxml gnome-doc-utils)
install=glipper.install
options=(!emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/glipper/$pkgname-$pkgver.tar.bz2)
md5sums=('95315e62b950877611d4645a0b47e1ba')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=$startdir/pkg install || return 1
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
}