summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNahuel Gomez Castro2020-01-19 00:51:58 -0300
committerNahuel Gomez Castro2020-01-19 00:51:58 -0300
commit8e20de7829027cb091e4b5ba5cf0768424092898 (patch)
tree00328469fe8ff16391a46db9883e70f42314ea19
downloadaur-8e20de7829027cb091e4b5ba5cf0768424092898.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--CHANGELOG3
-rw-r--r--PKGBUILD28
4 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0d057c4c259
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = contrast
+ pkgdesc = Checks whether the contrast between two colors meet the WCAG requirements.
+ pkgver = 0.0.2
+ pkgrel = 1
+ url = https://gitlab.gnome.org/World/design/contrast
+ changelog = CHANGELOG
+ arch = x86_64
+ license = GPL3
+ makedepends = rust
+ makedepends = meson
+ makedepends = git
+ depends = libhandy
+ source = git+https://gitlab.gnome.org/World/design/contrast.git#tag=0.0.2
+ sha256sums = SKIP
+
+pkgname = contrast
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4957c92e7f4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/contrast
+/pkg
+/src
+*.tar.xz
diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 00000000000..2377575527b
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,3 @@
+v0.0.2
+======
+- Translations updates
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d9f4e0ba56
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Nahuel Gomez Castro <nahual_gomca@outlook.com.ar>
+
+pkgname='contrast'
+pkgver='0.0.2'
+pkgrel='1'
+pkgdesc='Checks whether the contrast between two colors meet the WCAG requirements.'
+changelog='CHANGELOG'
+arch=('x86_64')
+url="https://gitlab.gnome.org/World/design/${pkgname}"
+license=('GPL3')
+depends=('libhandy')
+makedepends=('rust' 'meson' 'git')
+source=("git+${url}.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+pkgver () {
+ cd ${pkgname}
+ git describe --tags | sed 's/-/.r/; s/-/./'
+}
+
+build () {
+ arch-meson ${pkgname} build
+ ninja -C build
+}
+
+package () {
+ DESTDIR="${pkgdir}" ninja -C build install
+}