summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: faf386937927d254829a6e67ede3155628e3229a (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
34
35
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds

pkgname=cloudprint-cups-git
pkgver=20130604.2.g896b314
pkgrel=1
epoch=1
pkgdesc="Google Cloud Print driver for CUPS, allows printing to printers hosted on Google Cloud Print."
arch=('any')
url="https://github.com/simoncadman/CUPS-Cloud-Print"
license=('GPL3')
depends=('pycups' 'python2-httplib2')
makedepends=('cups' 'git')
provides=('cloudprint-cups' 'cupscloudprint')
conflicts=('cloudprint-cups' 'cupscloudprint')
options=(!emptydirs)
install=cloudprint-cups.install
source=("${pkgname}::git://github.com/simoncadman/CUPS-Cloud-Print.git")
md5sums=('SKIP')

pkgver() {
  cd ${srcdir}/${pkgname}
  git describe --always --tags | sed 's|-|.|g'
}

build() {
  cd ${srcdir}/${pkgname}
  ./configure --prefix /usr
  make
}

package() {
  cd ${srcdir}/${pkgname}
  NOPERMS=1 make DESTDIR=${pkgdir} install
}