aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-09 01:37:46 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-09 01:37:46 +0200
commit350b41084d6e09cad54e8a676613e0b1a6061b56 (patch)
tree61bc8b9544afcf7d5ab772655c5b49801405a17c
parentm gitignore (diff)
downloadcrt-calibrator-350b41084d6e09cad54e8a676613e0b1a6061b56.tar.gz
crt-calibrator-350b41084d6e09cad54e8a676613e0b1a6061b56.tar.bz2
crt-calibrator-350b41084d6e09cad54e8a676613e0b1a6061b56.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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
+}
+