# $Id: PKGBUILD 100807 2013-11-11 10:58:12Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Alexander Fehr pkgname=parcellite pkgver=1.1.7 pkgrel=2 pkgdesc="Lightweight GTK+ clipboard manager" arch=('i686' 'x86_64' 'mips64el') url="http://parcellite.sourceforge.net/" license=('GPL3') depends=('gtk2') makedepends=('intltool') source=(http://downloads.sourceforge.net/parcellite/parcellite-$pkgver.tar.gz fix-crash.patch) md5sums=('a542aab0df50ac7a7de6501957e78fb3' 'f2cc1986e573d49c92ea3d81efd5d574') prepare() { cd "$srcdir/parcellite-$pkgver" patch -Np1 <$srcdir/fix-crash.patch } build() { cd "$srcdir/parcellite-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd "$srcdir/parcellite-$pkgver" make DESTDIR="$pkgdir" install make distclean }