[arch-commits] Commit in interception-dual-function-keys/repos/community-x86_64 (3 files)

Brett Cornwall ainola at archlinux.org
Tue Dec 29 01:14:28 UTC 2020


    Date: Tuesday, December 29, 2020 @ 01:14:28
  Author: ainola
Revision: 796347

archrelease: copy trunk to community-x86_64

Added:
  interception-dual-function-keys/repos/community-x86_64/PKGBUILD
    (from rev 796346, interception-dual-function-keys/trunk/PKGBUILD)
Deleted:
  interception-dual-function-keys/repos/community-x86_64/0001-make-Append-don-t-overwrite-user-defs.patch
  interception-dual-function-keys/repos/community-x86_64/PKGBUILD

--------------------------------------------------+
 0001-make-Append-don-t-overwrite-user-defs.patch |   42 ---------------
 PKGBUILD                                         |   58 +++++++++------------
 2 files changed, 25 insertions(+), 75 deletions(-)

Deleted: 0001-make-Append-don-t-overwrite-user-defs.patch
===================================================================
--- 0001-make-Append-don-t-overwrite-user-defs.patch	2020-12-29 01:14:13 UTC (rev 796346)
+++ 0001-make-Append-don-t-overwrite-user-defs.patch	2020-12-29 01:14:28 UTC (rev 796347)
@@ -1,42 +0,0 @@
-From 02823635bf3bc149892ce75efffcc33a33e184c5 Mon Sep 17 00:00:00 2001
-From: Brett Cornwall <brett at i--b.com>
-Date: Fri, 25 Dec 2020 16:29:03 -0800
-Subject: [PATCH] make: Append, don't overwrite user defs
-
----
- config.mk | 16 +++++++---------
- 1 file changed, 7 insertions(+), 9 deletions(-)
-
-diff --git a/config.mk b/config.mk
-index 57bf7a3..619121d 100644
---- a/config.mk
-+++ b/config.mk
-@@ -1,18 +1,16 @@
--ifndef VERSION
--  VERSION = "development-version"
--endif
-+VERSION ?= "development-version"
- 
--PREFIX = /usr/local
-+PREFIX ?= /usr/local
- 
--INCS = -I/usr/include/libevdev-1.0
-+INCS += -I/usr/include/libevdev-1.0
- 
--CPPFLAGS = $(INCS) -DVERSION=\"$(VERSION)\"
-+CPPFLAGS += $(INCS) -DVERSION=\"$(VERSION)\"
- 
--COMPFLAGS = -pedantic -Wall -Wextra -O3
--CFLAGS = $(COMPFLAGS) -std=c99
-+COMPFLAGS += -pedantic -Wall -Wextra -O3
-+CFLAGS += $(COMPFLAGS) -std=c99
- CXXFLAGS = $(COMPFLAGS) -std=c++11
- 
--LDFLAGS = -rdynamic -lyaml-cpp -levdev
-+LDFLAGS += -rdynamic -lyaml-cpp -levdev
- 
- CC = cc
- CXX = c++
--- 
-2.29.2
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-29 01:14:13 UTC (rev 796346)
+++ PKGBUILD	2020-12-29 01:14:28 UTC (rev 796347)
@@ -1,33 +0,0 @@
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# Contributor: Alexander Courtis
-
-pkgname=interception-dual-function-keys
-pkgver=1.2.0
-pkgrel=2
-pkgdesc="Interception plugin for dual-function keys: Tap for one key, hold for another"
-arch=('x86_64')
-url="https://gitlab.com/interception/linux/plugins/dual-function-keys"
-license=('MIT')
-depends=('interception-tools')
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/plugins/dual-function-keys/-/archive/$pkgver/dual-function-keys-$pkgver.tar.gz"
-"0001-make-Append-don-t-overwrite-user-defs.patch")
-sha256sums=('fc64d6ddf80c1a153dd0e2180a581649f4a9d489e1718053a70b61faef98e0ca'
-            '98f9dbc96b3f71ba4969146282676946648dfc085d7722794d9bb8b0a9740d30')
-
-prepare() {
-    cd "dual-function-keys-$pkgver"
-    # https://gitlab.com/interception/linux/plugins/dual-function-keys/-/issues/20
-    patch -p1 < ../0001-make-Append-don-t-overwrite-user-defs.patch
-}
-
-build() {
-    cd "dual-function-keys-$pkgver"
-    make VERSION="$pkgver"
-}
-
-package() {
-    cd "dual-function-keys-$pkgver"
-    make PREFIX=/usr DESTDIR="$pkgdir/" install
-    install -Dm644 {README,doc/examples}.md -t "$pkgdir/usr/share/doc/$pkgname"
-    install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: interception-dual-function-keys/repos/community-x86_64/PKGBUILD (from rev 796346, interception-dual-function-keys/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-29 01:14:28 UTC (rev 796347)
@@ -0,0 +1,25 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Alexander Courtis
+
+pkgname=interception-dual-function-keys
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Interception plugin for dual-function keys: Tap for one key, hold for another"
+arch=('x86_64')
+url="https://gitlab.com/interception/linux/plugins/dual-function-keys"
+license=('MIT')
+depends=('interception-tools')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/plugins/dual-function-keys/-/archive/$pkgver/dual-function-keys-$pkgver.tar.gz")
+sha256sums=('595ffcc6ff944783cdb37b4ccf2db632238ebc2727ebd568454e3d0a59330e63')
+
+build() {
+    cd "dual-function-keys-$pkgver"
+    make VERSION="$pkgver"
+}
+
+package() {
+    cd "dual-function-keys-$pkgver"
+    make PREFIX=/usr DESTDIR="$pkgdir/" install
+    install -Dm644 {README,doc/examples}.md -t "$pkgdir/usr/share/doc/$pkgname"
+    install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list