summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxionl2018-05-26 10:38:51 +0800
committeraxionl2018-05-26 10:38:51 +0800
commit0683096147438a729c71ba94322330313e8a2af1 (patch)
treed504f2aac1dfe5f27baa191ece2f047463588840
downloadaur-0683096147438a729c71ba94322330313e8a2af1.tar.gz
Add package.
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD31
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8ce7d89eb8d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = color-picker
+ pkgdesc = A color picker for elementary OS.
+ pkgver = 1.0.5
+ pkgrel = 1
+ url = https://github.com/RonnyDo/ColorPicker
+ arch = x86_64
+ license = GPL3
+ makedepends = meson
+ makedepends = vala
+ depends = granite
+ provides = color-picker
+ conflicts = color-picker-git
+ source = https://raw.githubusercontent.com/RonnyDo/ColorPicker/master/LICENSE
+ sha256sums = 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2
+ source_x86_64 = ColorPicker-1.0.5.tar.gz::https://github.com/RonnyDo/ColorPicker/archive/1.0.5.tar.gz
+ sha256sums_x86_64 = 71590f01eabf102bf10e44c2310b6e3f4782a71e00f02cab015b7b1e3cbc0a97
+
+pkgname = color-picker
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88558e9ba86
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Ariel AxionL <axionl@aosc.io>
+
+pkgname=color-picker
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="A color picker for elementary OS."
+arch=('x86_64')
+depends=('granite')
+makedepends=('meson' 'vala')
+conflicts=("color-picker-git")
+provides=("color-picker")
+url="https://github.com/RonnyDo/ColorPicker"
+license=("GPL3")
+source=("https://raw.githubusercontent.com/RonnyDo/ColorPicker/master/LICENSE")
+source_x86_64=("ColorPicker-$pkgver.tar.gz::https://github.com/RonnyDo/ColorPicker/archive/$pkgver.tar.gz")
+
+sha256sums=('589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2')
+sha256sums_x86_64=('71590f01eabf102bf10e44c2310b6e3f4782a71e00f02cab015b7b1e3cbc0a97')
+
+build() {
+ cd $srcdir/ColorPicker-$pkgver
+ meson _build --prefix=/usr
+ cd _build
+ ninja
+}
+
+package() {
+ install -Dm755 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+ cd $srcdir/ColorPicker-$pkgver/_build
+ DESTDIR="$pkgdir/" ninja install
+}