diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,30 +1,32 @@ # Maintainer: Tomasz Maciej Nowak <com[dot]gmail[at]tmn505> # patch idea taken from package brother-hl-l2380dw by apaugh + +# All my PKGBUILDs are managed at https://github.com/tmn505/AUR + pkgname=brother-dcp-l2500d pkgver=3.2.0_1 -pkgrel=1 -pkgdesc="LPR and CUPS driver for the Brother DCP-L2500D" +pkgrel=2 +pkgdesc='LPR and CUPS driver for the Brother DCP-L2500D' arch=('i686' 'x86_64') -url="http://solutions.brother.com/linux" +url='http://solutions.brother.com/linux' license=('GPL2' 'custom:Brother EULA') depends=('cups') depends_x86_64=('lib32-glibc') -install=${pkgname}.install source=("http://download.brother.com/welcome/dlf101753/dcpl2500dlpr-${pkgver/_/-}.i386.rpm" "http://download.brother.com/welcome/dlf101754/dcpl2500dcupswrapper-${pkgver/_/-}.i386.rpm" 'basedir.patch' 'eula.txt') sha256sums=('ec739bb742cb16f943e5faeed845b317ff6608229b4826c8738e5076f90e810e' 'd53d13a0854f8a8fd50bdbaf3fe2edead7c52d17f11bb86c64d000d5ffd28aef' - 'baf435d197594de95193e2b08eaa4a8c071fc86ce2b98d84f6e83d0f6bcac293' + 'a3ad56a074f83cad899b2d61deb10e47bfd7ba7e430a777dd043193be4733ff7' 'd1c2d3abdcbcb3f5251fb8109d4b9eff0fba9707ae6697601d75bead71d7ffd4') prepare() { - patch -p0 -i ${srcdir}/basedir.patch + patch -p1 -i ${srcdir}/basedir.patch } package() { - cp -R ${srcdir}/opt ${pkgdir} + cp -R ${srcdir}/opt ${pkgdir}/ rm ${pkgdir}/opt/brother/Printers/DCPL2500D/cupswrapper/Copying install -Dm644 ${srcdir}/eula.txt ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt ln -s /usr/share/licenses/GPL2/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/cupswrapper-license.txt |