blob: f9a181b9032f5e973bdf9024a28926c0000f59d5 (
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
35
36
37
38
39
|
# Maintainer: Colin Arnott <colin@urandom.co.uk>
pkgname="brlaser-git"
pkgver=v3.r35.g3946f2e
pkgrel=1
pkgdesc="CUPS driver for the Brother DCP-7065DN"
arch=('x86_64')
url="https://github.com/pdewacht/brlaser"
license=('GPL2')
depends=('cups')
makedepends=('git' 'cmake')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $pkgname
cmake .
}
build() {
cd $pkgname
make
}
check() {
cd $pkgname
make -k check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir/" install
}
|