updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / brother-cups-wrapper-common / PKGBUILD
blobeed17f3efea18563c1c3828098e9c443ce4a0ce1
1 # Contributor: cdfk <cdfk1981-at-gmail.com>
3 pkgname=brother-cups-wrapper-common
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="This package provides common files for some of the Brother cups wrapper packages."
7 license=('GPL' 'custom:brother commercial license')
8 url="http://solutions.brother.com/linux/en_us/index.html"
9 arch=('i686' 'x86_64')
10 depends=('brother-lpr-drivers-common' 'cups')
11 [ $CARCH == "x86_64" ] && _a="amd64" && md5sums=(
12   'c656345afbb951780958069e2aed9db2')
13 [ $CARCH == "i686" ] && _a="i386" && md5sums=(
14   '90c39c2270f9b3d231f5f930e208e73e')
15 source=(http://mirrors.kernel.org/ubuntu/pool/multiverse/b/${pkgname}/${pkgname}_${pkgver}-10-0ubuntu5_${_a}.deb)
17 build() {
18  cd $srcdir || return 1
19  ar -x ${pkgname}_${pkgver}-10-0ubuntu5_${_a}.deb || return 1
20  cd $pkgdir || return 1
21  tar -xzf ${srcdir}/data.tar.gz || return 1