aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--dist/archlinux/stable/.gitignore9
-rw-r--r--dist/archlinux/stable/PKGBUILD24
3 files changed, 33 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index b883e94..edbdcdd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
_/
bin/
obj/
-/dist/*/*
.*
!.git*
*~
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..b070320
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,9 @@
+*
+!/.git*
+!/PKGBUILD
+!/crt-calibrator.install
+*~
+*.swo
+*.swp
+*.bak
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..5a9f3f8
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=crt-calibrator
+pkgver=1
+pkgrel=1
+pkgdesc="CRT monitor calibrator utility for Linux VT"
+url="https://github.com/maandree/crt-calibrator"
+arch=(i686 x86_64)
+license=(GPL3)
+depends=(glibc libdrm linux)
+makedepends=(make coreutils gcc glibc libdrm linux)
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(e16ee043c52d3712b39de34c004970649fa30bbd8b9ef1a732a52ecf2a40b317)
+
+build() {
+ cd "${srcdir}/crt-calibrator-${pkgver}"
+ make DESTDIR="${pkgdir}"
+}
+
+package() {
+ cd "${srcdir}/crt-calibrator-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+