summaryrefslogtreecommitdiff
path: root/extra/cups-pk-helper/PKGBUILD
blob: f56f035f17304823eca5c66e785fbffdd459e7b0 (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
#$Id: PKGBUILD 149302 2012-02-06 18:14:45Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=cups-pk-helper
pkgver=0.2.1
pkgrel=1
pkgdesc="A helper that makes system-config-printer use PolicyKit"
arch=(i686 x86_64)
url="http://www.freedesktop.org/software/cups-pk-helper/releases/"
license=('GPL')
depends=(polkit libcups)
makedepends=(intltool)
install=
source=(http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.bz2)
sha256sums=('b620abc83d5e8595c533264c00c6f6d9f44ec020b62968797747687857679c9c ')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/cups-pk-helper
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: