git subrepo clone --branch=master https://aur.archlinux.org/libevdevplus
subrepo: subdir: "libevdevplus" merged: "5f056a1" upstream: origin: "https://aur.archlinux.org/libevdevplus" branch: "master" commit: "5f056a1" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
0d405c1fba
commit
f9bee86712
16
libevdevplus/.SRCINFO
Normal file
16
libevdevplus/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = libevdevplus
|
||||
pkgdesc = Easy-to-use event device library in C++
|
||||
pkgver = 0.1.1
|
||||
pkgrel = 2
|
||||
url = https://github.com/YukiWorkshop/libevdevPlus
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = cmake
|
||||
makedepends = ninja
|
||||
source = https://github.com/YukiWorkshop/libevdevPlus/archive/v0.1.1.tar.gz
|
||||
source = https://github.com/YukiWorkshop/libevdevPlus/commit/7d4ff7dc76d135f2fab1c22fa3c2e11110d3507a.patch
|
||||
sha256sums = c941b6b45f784c1e6c6f316f59256fabd604ac392db405cf7fd99de2686aaab0
|
||||
sha256sums = 131ac2d9736b588818d024aee34bfa90703114ab6450164655c3f5d15a78c338
|
||||
|
||||
pkgname = libevdevplus
|
||||
|
4
libevdevplus/.gitignore
vendored
Normal file
4
libevdevplus/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
12
libevdevplus/.gitrepo
Normal file
12
libevdevplus/.gitrepo
Normal 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/libevdevplus
|
||||
branch = master
|
||||
commit = 5f056a1205fa8c0c62f3a86cfd7427d006cffe02
|
||||
parent = 0d405c1fba0768cad2e176cedfd4d7f241cdb518
|
||||
method = merge
|
||||
cmdver = 0.4.3
|
32
libevdevplus/PKGBUILD
Normal file
32
libevdevplus/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
|
||||
|
||||
pkgname=libevdevplus
|
||||
pkgver=0.1.1
|
||||
pkgrel=2
|
||||
pkgdesc="Easy-to-use event device library in C++"
|
||||
url="https://github.com/YukiWorkshop/libevdevPlus"
|
||||
license=('MIT')
|
||||
arch=('x86_64')
|
||||
source=("$url/archive/v$pkgver.tar.gz"
|
||||
"$url/commit/7d4ff7dc76d135f2fab1c22fa3c2e11110d3507a.patch")
|
||||
sha256sums=('c941b6b45f784c1e6c6f316f59256fabd604ac392db405cf7fd99de2686aaab0'
|
||||
'131ac2d9736b588818d024aee34bfa90703114ab6450164655c3f5d15a78c338')
|
||||
makedepends=('cmake' 'ninja')
|
||||
|
||||
prepare() {
|
||||
cd "libevdevPlus-$pkgver"
|
||||
patch -sp1 -i ../7d4ff7dc76d135f2fab1c22fa3c2e11110d3507a.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-G Ninja \
|
||||
-S "libevdevPlus-$pkgver" -B build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
}
|
Loading…
Reference in New Issue
Block a user