summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: d5296c7f091ed9787053662e4f996a506a5f5c2d (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
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (AUR): Colin Arnott <colin@urandom.co.uk>

# # I maintain this because:
# I use it and it is not in an official repo

pkgname="brlaser"
pkgver=4
pkgrel=2
pkgdesc="CUPS driver for many Brother printers"
arch=('x86_64')
url="https://github.com/pdewacht/brlaser"
license=('GPL2')
depends=('cups')
makedepends=('cmake')
source=($pkgname-$pkgver.tar.gz::https://github.com/pdewacht/${pkgname}/archive/v${pkgver}.tar.gz)
sha512sums=('1e08091adc371a35f75c245fd86f132aae7811a00bd7e9d194c47038dc9aa29296fbf8769cef6b8ea42d82467857195ba8024a9d6de8048174ecc44e0bb76067')

build() {
	cd "${pkgname}-${pkgver}"
	cmake .
}

check() {
	cd "${pkgname}-${pkgver}"
	make -k check
}

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