summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f29cc372f01db9be9baa73d1b90a841313c4bc9 (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
# Maintainer: SeeLook <seelook@gmail.com>
pkgname=qrab
pkgver=0.4
pkgrel=3
pkgdesc="Simply grabs QR code from screen and copies decoded text into clipboard"
arch=('x86_64' 'i686')
url="http://qrab.sourceforge.net/"
license=('GPL3')
groups=()
depends=('qt5-quickcontrols2' 'zbar' 'fluid')
optdepends=()
makedepends=('cmake')
source=("https://sourceforge.net/projects/qrab/files/QRab-$pkgver/qrab-$pkgver-source.tar.bz2")
md5sums=('4a198f2fdf297152eed43665a540471e')

build() {
  cd "$srcdir/qrab-$pkgver-source"
  mkdir "$srcdir/qrab-$pkgver-source/build"
  cd "$srcdir/qrab-$pkgver-source/build"
  cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
  make
}

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