aboutsummaryrefslogtreecommitdiffstats
path: root/community/brlaser/APKBUILD
blob: a269dbe31a8fbad54186aa857becc5aece5e9388 (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
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=brlaser
pkgver=5
pkgrel=1
pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065"
url="https://github.com/pdewacht/brlaser"
arch="all"
license="GPL-2.0-or-later"
depends="cups-filters"
makedepends="cmake cups-dev"
source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz"

build() {
	cmake -B build . \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	make -C build
}

check() {
	make -C build test
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="eeb3b37beb5f9a1b6bea456fd9b5e6fc346a7d2dcf9800fa03dfae85f929de46975e4c69a24c9771049ed18847307418fd04d3fe3078b01c60ff19d12ce85058  brlaser-5.tar.gz"