summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96997b27cc5a13cd17e62bcef1c46d41300736a9 (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
# Maintainer: robertfoster

pkgname=kdeplasma-applets-qrcodeplasmoid-git
pkgver=10.9af2b9a
pkgrel=1
pkgdesc="A plasmoid to quickly export some selected text in QR Code"
arch=('i686' 'x86_64')
url="http://kde.org/"
license=('GPL')
depends=('kdebase-workspace' 'qrencode')
makedepends=('cmake' 'automoc4' 'git')
install=kdeplasma-applets-qrcodeplasmoid-git.install
source=("qrgenplasmoid::git+https://github.com/PVince81/qrgenplasmoid.git"
	patch)


build() {
  cd qrgenplasmoid
  patch -Np1 -i ../patch
  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd qrgenplasmoid
  make DESTDIR=${pkgdir} install
}

pkgver() {
  cd qrgenplasmoid
  echo $(git rev-list --count master).$(git rev-parse --short master)
}
md5sums=('SKIP'
	 '34928af1b21b65413109cd3808e509ef')