summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f31b7c6baef522a6801e257ab8b86f39ae6b5b07 (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: Ted To <wintrymix@theo.to>
pkgname="brlaser"
pkgver=6.2.6
pkgrel=1
pkgdesc="Brother laser printer driver"
arch=('x86_64' 'armv7h' 'aarch64')
url="https://github.com/Owl-Maintain/brlaser"
license=('GPL2')
depends=('cups')
makedepends=('cmake')
source=("https://github.com/Owl-Maintain/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('285a053473ae576167e653bb94c20a1ae676c1a39ec87d9b14c664e389a4713d93ca29d5cefd92a6793e1ffbc8b03b119ea8cd903749ae21c9354ce30d470a51')

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

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

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