diff options
author | NagiNikaido | 2024-03-10 09:43:34 +0800 |
---|---|---|
committer | NagiNikaido | 2024-03-10 09:43:34 +0800 |
commit | 148152335d6403cec9f4b30084e34eba09d25ee5 (patch) | |
tree | 9653b09f4ce22f2a01f3322e2a706f76643e7ebf | |
download | aur-148152335d6403cec9f4b30084e34eba09d25ee5.tar.gz |
v0.1.0. Initial commit as well.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 70 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c6d8f767617f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = interception-fnkeys-xiaoxin + pkgdesc = An Interception tools plugin fixing failed Fn-key mappings on latest Lenovo XiaoXin series. + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/NagiNikaido/Fix-Fnkeys-XiaoXin + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = gcc + depends = interception-tools + source = https://github.com/NagiNikaido/Fix-Fnkeys-XiaoXin/archive/refs/tags/v0.1.0.tar.gz + sha256sums = 07909cb2142ae9d4ee573632ebbadb90f0d728cf54329f0873fec0685aa46575 + +pkgname = interception-fnkeys-xiaoxin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..54df027037a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,70 @@ +# Created by https://www.toptal.com/developers/gitignore/api/archlinuxpackages,emacs +# Edit at https://www.toptal.com/developers/gitignore?templates=archlinuxpackages,emacs + +### ArchLinuxPackages ### +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +# End of https://www.toptal.com/developers/gitignore/api/archlinuxpackages,emacs diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4845ce4e3580 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: NagiNikaido <naginikaido@foxmail.com> + +pkgname=interception-fnkeys-xiaoxin +pkgver=0.1.0 +pkgrel=1 +pkgdesc="An Interception tools plugin fixing failed Fn-key mappings on latest Lenovo XiaoXin series." +arch=('x86_64') +url="https://github.com/NagiNikaido/Fix-Fnkeys-XiaoXin" +license=('MIT') +depends=('interception-tools') +makedepends=('cmake' 'gcc') + +source=("https://github.com/NagiNikaido/Fix-Fnkeys-XiaoXin/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('07909cb2142ae9d4ee573632ebbadb90f0d728cf54329f0873fec0685aa46575') +_reponame=Fix-Fnkeys-XiaoXin + +build() { + cd ${srcdir}/${_reponame}-${pkgver} + cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + cmake --build build +} + +package() { + cd ${srcdir}/${_reponame}-${pkgver}/build + + make DESTDIR="$pkgdir/" install +} |