summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 313ad638ba25f20a1dedce1ada4bd4230fb6e0cb (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
# Contributor: cdfk <cdfk1981-at-gmail.com>

pkgname=brother-lpr-drivers-common
pkgver=1.0.0
pkgrel=1
pkgdesc="This package provides common files for Brother LPR drivers packages."
license=('GPL' 'custom:brother commercial license')
url="http://solutions.brother.com/linux/en_us/index.html"
arch=('i686' 'x86_64')
[ $CARCH == "x86_64" ] && _a="amd64" && md5sums=(
  '6dc720f964d2be0a9e117289bec56a30')
[ $CARCH == "i686" ] && _a="i386" && md5sums=(
  '42bb28bcdd3ec22ff50fa63db87cefb6')
source=(http://mirrors.kernel.org/ubuntu/pool/multiverse/b/${pkgname}/${pkgname}_${pkgver}-4-0ubuntu3_${_a}.deb)

build() {
 cd $srcdir || return 1
 ar -x ${pkgname}_${pkgver}-4-0ubuntu3_${_a}.deb || return 1
}

package() {
 cd $pkgdir || return 1
 tar -xzf ${srcdir}/data.tar.gz || return 1
}
md5sums=('d9f8e3eacc835e6379e675d0cee855c9')