summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3c5a5690140
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Colin Arnott <colin@urandom.co.uk>
+pkgname="brlaser-git"
+pkgver=v3.r24.gf1e0b2d
+pkgrel=1
+pkgdesc="CUPS driver for the Brother DCP-7065DN"
+arch=('x86_64')
+url="https://github.com/pdewacht/brlaser"
+license=('GPL2')
+
+depends=('cups')
+source=("$pkgname::git+$url")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$pkgname"
+ ./autogen.sh
+ ./configure --prefix=/usr
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}