subrepo:
  subdir:   "libuinputplus"
  merged:   "f7daeef"
upstream:
  origin:   "https://aur.archlinux.org/libuinputplus"
  branch:   "master"
  commit:   "f7daeef"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-01-21 09:52:54 +01:00
parent f9bee86712
commit 8ba772bacc
4 changed files with 64 additions and 0 deletions

16
libuinputplus/.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = libuinputplus
pkgdesc = Easy-to-use uinput library in C++
pkgver = 0.1.4
pkgrel = 2
url = https://github.com/YukiWorkshop/libuInputPlus
arch = x86_64
license = MIT
makedepends = cmake
makedepends = ninja
source = https://github.com/YukiWorkshop/libuInputPlus/archive/v0.1.4.tar.gz
source = https://github.com/YukiWorkshop/libuInputPlus/commit/70007571963792487064f4b57bdbe5694283ef97.patch
sha256sums = a537e156d11ad00c643b93cbd9b712d3ec9d0ae8e40731ff763fe9a6ffe97458
sha256sums = c7476024f241c4e80116c72ebd85f0b722152beef2e96b402702ea80f7c61666
pkgname = libuinputplus

4
libuinputplus/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*
!PKGBUILD
!.SRCINFO
!.gitignore

12
libuinputplus/.gitrepo Normal file
View File

@ -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/libuinputplus
branch = master
commit = f7daeef4f83516f19fbdae5bddbcc5fcb6a13369
parent = f9bee86712f46d00ba72d76b89236a3661a2a4ff
method = merge
cmdver = 0.4.3

32
libuinputplus/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=libuinputplus
pkgver=0.1.4
pkgrel=2
pkgdesc="Easy-to-use uinput library in C++"
url="https://github.com/YukiWorkshop/libuInputPlus"
license=('MIT')
arch=('x86_64')
source=("$url/archive/v$pkgver.tar.gz"
"$url/commit/70007571963792487064f4b57bdbe5694283ef97.patch")
sha256sums=('a537e156d11ad00c643b93cbd9b712d3ec9d0ae8e40731ff763fe9a6ffe97458'
'c7476024f241c4e80116c72ebd85f0b722152beef2e96b402702ea80f7c61666')
makedepends=('cmake' 'ninja')
prepare() {
cd "libuInputPlus-$pkgver"
patch -sp1 -i ../70007571963792487064f4b57bdbe5694283ef97.patch
}
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-G Ninja \
-S "libuInputPlus-$pkgver" -B build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}