aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 13:56:00 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 14:53:00 -0300
commit4a59f287a2c5619f7f150807caaa0a26be040279 (patch)
treeb0383e27cadf56973e44cc712a374e7a2eb94a30
parent441f8caf531eb82a234cf26ea4e64b4c4a4e7e1c (diff)
downloadaports-4a59f287a2c5619f7f150807caaa0a26be040279.tar.gz
aports-4a59f287a2c5619f7f150807caaa0a26be040279.tar.bz2
aports-4a59f287a2c5619f7f150807caaa0a26be040279.tar.xz
community/brlaser: modernize
-rw-r--r--community/brlaser/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/brlaser/APKBUILD b/community/brlaser/APKBUILD
index f44bf4f8c7..a269dbe31a 100644
--- a/community/brlaser/APKBUILD
+++ b/community/brlaser/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=brlaser
pkgver=5
-pkgrel=0
+pkgrel=1
pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065"
url="https://github.com/pdewacht/brlaser"
arch="all"
@@ -12,16 +12,18 @@ makedepends="cmake cups-dev"
source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz"
build() {
- cmake . -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake -B build . \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make -C build
}
check() {
- make test
+ make -C build test
}
package() {
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
sha512sums="eeb3b37beb5f9a1b6bea456fd9b5e6fc346a7d2dcf9800fa03dfae85f929de46975e4c69a24c9771049ed18847307418fd04d3fe3078b01c60ff19d12ce85058 brlaser-5.tar.gz"