summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-12 08:03:07 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-12 08:03:07 -0800
commitb6fd43d415b044924536fc2bbd4a6fd5a25f552f (patch)
tree23e08cb1f379b70badb17f3ffbd50136c501585a
downloadbrlaser-b6fd43d415b044924536fc2bbd4a6fd5a25f552f.tar.xz
Initial commit
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..4a0e91d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
+# Maintainer (AUR): Colin Arnott <colin@urandom.co.uk>
+
+# # I maintain this because:
+# I use it and it is not in na official repo
+
+pkgname="brlaser"
+pkgver=4
+pkgrel=1
+pkgdesc="CUPS driver for many Brother printers"
+arch=('x86_64')
+url="https://github.com/pdewacht/brlaser"
+license=('GPL2')
+depends=('cups')
+source=($pkgname-$pkgver.tar.gz::https://github.com/pdewacht/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('1e08091adc371a35f75c245fd86f132aae7811a00bd7e9d194c47038dc9aa29296fbf8769cef6b8ea42d82467857195ba8024a9d6de8048174ecc44e0bb76067')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ cmake .
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ make -k check
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir/" install
+}