blob: 55faba4e9c5f3a95a1801e1a28698e03bc4dce49 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=brlaser
pkgver=2
pkgrel=1
pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065"
url="http://github.com/pdewacht/brlaser"
arch="all"
license="GPL2+"
depends="cups-filters"
depends_dev=""
makedepends="$depends_dev cups-dev automake autoconf"
install=""
subpackages="$pkgname-doc"
source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz
brlaser-v2-to-9c4336.patch"
_builddir="$srcdir"/brlaser-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="34bc664707dcd51e96a3b79917bcb50d brlaser-2.tar.gz
4f547141394e3f5a5dc4e1b0b5aa2d49 brlaser-v2-to-9c4336.patch"
sha256sums="20852bb99004474c25885b7d7ba124b079e7ea6beb277a85500641ca34fe24c6 brlaser-2.tar.gz
62b24b19090aa1846b0958ed94f8841aee1c6eb884286cefc96100acc69ee003 brlaser-v2-to-9c4336.patch"
sha512sums="eda631fd4cf80e3dd0f7097b62fd8e73f8adcafdfad937b49b5515d4ede37bcb861fa8a69397cacc3634baf18551a06bf2feb85042e34432ee26e695b7b8339b brlaser-2.tar.gz
b6952e15ccf47fe65df75a9796ba67f5e65c5b9980f91da8324a9cc82b7a87790609bf6ecaf83bc8b574d771933d3a0aa79fb29a1141171f3342e686885ce962 brlaser-v2-to-9c4336.patch"
|