summaryrefslogtreecommitdiff
path: root/extra/cups-pk-helper/PKGBUILD
blob: 4f491f8606d912288c1126d2f7b3f916a9744a3f (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 119655 2011-04-13 10:39:02Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=cups-pk-helper
pkgver=0.1.2
pkgrel=1
pkgdesc="A helper that makes system-config-printer use PolicyKit"
arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/software/cups-pk-helper/releases/"
license=('GPL')
depends=(dbus-glib polkit libcups)
makedepends=(intltool)
install=
source=(http://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('ccc5f35c5232b83c16929431b352775dd4c63cb92759ec45a525edb6fcb805df')

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: