summaryrefslogtreecommitdiff
path: root/community/parcellite/PKGBUILD
blob: ab156dbabcddb879359419121ff2ad7c670b6837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 100807 2013-11-11 10:58:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Alexander Fehr <pizzapunk gmail com>

pkgname=parcellite
pkgver=1.1.7
pkgrel=2
pkgdesc="Lightweight GTK+ clipboard manager"
arch=('i686' 'x86_64')
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
}