From b214c298d27782752489720b766de4b9f3abd616 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 1 Sep 2021 14:27:00 +0200 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/lisgd-git.git subrepo: subdir: "lisgd-git" merged: "1a6167b" upstream: origin: "https://aur.archlinux.org/lisgd-git.git" branch: "master" commit: "1a6167b" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- lisgd-git/.SRCINFO | 15 +++++++++++++++ lisgd-git/.gitignore | 5 +++++ lisgd-git/.gitrepo | 12 ++++++++++++ lisgd-git/LICENSE | 21 +++++++++++++++++++++ lisgd-git/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 lisgd-git/.SRCINFO create mode 100644 lisgd-git/.gitignore create mode 100644 lisgd-git/.gitrepo create mode 100644 lisgd-git/LICENSE create mode 100644 lisgd-git/PKGBUILD diff --git a/lisgd-git/.SRCINFO b/lisgd-git/.SRCINFO new file mode 100644 index 0000000..073911b --- /dev/null +++ b/lisgd-git/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = lisgd-git + pkgdesc = Bind gestures on touchscreens, and unsupported gesture devices via libinput touch events + pkgver = 0.3.0.r2.g190a93d + pkgrel = 2 + url = https://git.sr.ht/~mil/lisgd + arch = any + license = MIT + makedepends = git + depends = libinput + provides = lisgd + source = git+https://git.sr.ht/~mil/lisgd#branch=master + sha1sums = SKIP + +pkgname = lisgd-git + diff --git a/lisgd-git/.gitignore b/lisgd-git/.gitignore new file mode 100644 index 0000000..6e51319 --- /dev/null +++ b/lisgd-git/.gitignore @@ -0,0 +1,5 @@ +*.tar* +/pkg +/src +/lisgd + diff --git a/lisgd-git/.gitrepo b/lisgd-git/.gitrepo new file mode 100644 index 0000000..0d4ad72 --- /dev/null +++ b/lisgd-git/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/lisgd-git.git + branch = master + commit = 1a6167bdcc00b752cd28ac86bf0374f99752fdb5 + parent = f8304b572a2cf58e5ebecf578dd02c004df5a664 + method = merge + cmdver = 0.4.3 diff --git a/lisgd-git/LICENSE b/lisgd-git/LICENSE new file mode 100644 index 0000000..8d11b6a --- /dev/null +++ b/lisgd-git/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 AntonĂ­n Dach + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lisgd-git/PKGBUILD b/lisgd-git/PKGBUILD new file mode 100644 index 0000000..0750f46 --- /dev/null +++ b/lisgd-git/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: AntonĂ­n Dach + +pkgname=lisgd-git +_pkgname=lisgd +pkgver=0.3.0.r2.g190a93d +pkgrel=2 +pkgdesc='Bind gestures on touchscreens, and unsupported gesture devices via libinput touch events' +arch=(any) +url='https://git.sr.ht/~mil/lisgd' +license=('MIT') +makedepends=('git') +depends=(libinput) +provides=(lisgd) +conflicts=() +install= +source=('git+https://git.sr.ht/~mil/lisgd#branch=master') +sha1sums=('SKIP') + +pkgver() { + cd "$_pkgname" + ( set -o pipefail + git describe --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cd "$_pkgname" + make +} + +package() { + cd "$_pkgname" + mkdir -p "$pkgdir/usr/bin" + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" +} +