aboutsummaryrefslogblamecommitdiffstats
path: root/community/brlaser/APKBUILD
blob: 370aa153946ef0b200df8fec546f2d6e2731c904 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                               

        
                                                                    
                                         
          
                          
                      

                                                                                            
 
         



                                           

 
         
                          


           
                                               

 
                                                                                                                                                               
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=brlaser
pkgver=6
pkgrel=0
pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065"
url="https://github.com/pdewacht/brlaser"
arch="all"
license="GPL-2.0-or-later"
depends="cups-filters"
makedepends="cmake cups-dev"
source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz"

build() {
	cmake -B build . \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	make -C build
}

check() {
	make -C build test
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="d7e0e63b64be9ae7633381622c13ba0589e5fe58d277212bce4f5bb712a291ed0b0f2ac3d450dce61c7f9052c1ce7323fec66b5005c5cb3da1314b284d20f06f  brlaser-6.tar.gz"