diff options
author | Axel McLaren | 2024-04-06 02:16:06 +0000 |
---|---|---|
committer | Axel McLaren | 2024-04-06 02:16:06 +0000 |
commit | e34fb1d70a0fd8fe68855c61a782b6b6c5dade1c (patch) | |
tree | db3708418f8157735e12d97ff010884386326d3c | |
download | aur-e34fb1d70a0fd8fe68855c61a782b6b6c5dade1c.tar.gz |
clipton: initial version of the package
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6485b7e7f5ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = clipton + pkgdesc = Clipboard manager based on rofi + pkgver = 45 + pkgrel = 1 + url = https://github.com/madprops/clipton + arch = x86_64 + license = Unlicense + depends = rofi + depends = xclip + depends = copyevent-git + provides = clipton + conflicts = clipton-git + source = clipton-45.tar.gz::https://github.com/madprops/clipton/archive/refs/tags/v45.tar.gz + sha256sums = d2e409192fe3a0d89aa758d2b7a5eba9b07ff5b53d74e988dd402607e2c61114 + +pkgname = clipton diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5a154906dca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Axel McLaren <scm(at)axml(dot)uk> + +pkgname="clipton" +pkgdesc="Clipboard manager based on rofi" +pkgver=45 +pkgrel=1 +arch=("x86_64") +url="https://github.com/madprops/clipton" +license=("Unlicense") +depends=("rofi" "xclip" "copyevent-git") +provides=("${pkgname}") +conflicts=("${pkgname}-git") +source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz) +sha256sums=('d2e409192fe3a0d89aa758d2b7a5eba9b07ff5b53d74e988dd402607e2c61114') + +package() { + cd "${pkgname}-${pkgver}" + + install -D -m755 clipton.py "${pkgdir}/usr/bin/clipton" + + install -D -m644 clipton.service "${pkgdir}/usr/lib/systemd/user/clipton.service" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" +} |