summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..3374813
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = termpicker
+ pkgdesc = A color picker for the terminal
+ pkgver = 1.3.5
+ pkgrel = 1
+ url = https://github.com/ChausseBenjamin/termpicker
+ arch = x86_64
+ license = Beerware
+ optdepends = wl-clipboard: clipboard support on wayland
+ optdepends = xsel: clipboard support on X11
+ provides = termpicker
+ source = termpicker-v1.3.5.tar.gz::https://github.com/ChausseBenjamin/termpicker/releases/download/v1.3.5/termpicker_Linux_x86_64.tar.gz
+ sha256sums = accd5ea9b06f012fefa6f0be49ceee7f4d26ed1da6a20447916e4e715beb37f6
+
+pkgname = termpicker
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..9320695
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Benjamin Chausse <benjamin@chausse.xyz>
+pkgname='termpicker'
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="A color picker for the terminal"
+arch=('x86_64')
+url="https://github.com/ChausseBenjamin/termpicker"
+license=('Beerware')
+groups=()
+depends=()
+makedepends=()
+
+optdepends=(
+ 'wl-clipboard: clipboard support on wayland'
+ 'xsel: clipboard support on X11'
+)
+
+provides=('termpicker')
+source=(
+ "$pkgname-v$pkgver.tar.gz::$url/releases/download/v$pkgver/${pkgname}_Linux_x86_64.tar.gz"
+)
+
+
+sha256sums=('accd5ea9b06f012fefa6f0be49ceee7f4d26ed1da6a20447916e4e715beb37f6')
+
+
+package() {
+ install -Dm755 $pkgname "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}