From b906fa4f7fc642331c62d340d1e613e4a5333525 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 27 Nov 2024 16:25:08 -0500 Subject: Batman --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD 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 +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" +} -- cgit v1.2.3