git subrepo clone --branch=master https://aur.archlinux.org/ydotool
subrepo: subdir: "ydotool" merged: "35ccdc8" upstream: origin: "https://aur.archlinux.org/ydotool" branch: "master" commit: "35ccdc8" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
		
							parent
							
								
									8ba772bacc
								
							
						
					
					
						commit
						55e3895d8e
					
				
							
								
								
									
										19
									
								
								ydotool/.SRCINFO
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										19
									
								
								ydotool/.SRCINFO
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
pkgbase = ydotool
 | 
			
		||||
	pkgdesc = Generic command-line automation tool (no X!)
 | 
			
		||||
	pkgver = 0.2.0
 | 
			
		||||
	pkgrel = 1
 | 
			
		||||
	url = https://github.com/ReimuNotMoe/ydotool
 | 
			
		||||
	arch = x86_64
 | 
			
		||||
	license = MIT
 | 
			
		||||
	makedepends = cmake
 | 
			
		||||
	makedepends = ninja
 | 
			
		||||
	makedepends = boost
 | 
			
		||||
	makedepends = scdoc
 | 
			
		||||
	depends = libevdevplus
 | 
			
		||||
	depends = libuinputplus
 | 
			
		||||
	depends = boost-libs
 | 
			
		||||
	source = https://github.com/ReimuNotMoe/ydotool/archive/v0.2.0.tar.gz
 | 
			
		||||
	sha256sums = 2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1
 | 
			
		||||
 | 
			
		||||
pkgname = ydotool
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								ydotool/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										4
									
								
								ydotool/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
*
 | 
			
		||||
!PKGBUILD
 | 
			
		||||
!.SRCINFO
 | 
			
		||||
!.gitignore
 | 
			
		||||
							
								
								
									
										12
									
								
								ydotool/.gitrepo
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										12
									
								
								ydotool/.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/ydotool
 | 
			
		||||
	branch = master
 | 
			
		||||
	commit = 35ccdc8fd314177d829a3a558cd285da6dbc0125
 | 
			
		||||
	parent = 8ba772bacca6ab58a787e573552067bb957f5f3e
 | 
			
		||||
	method = merge
 | 
			
		||||
	cmdver = 0.4.3
 | 
			
		||||
							
								
								
									
										39
									
								
								ydotool/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										39
									
								
								ydotool/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,39 @@
 | 
			
		||||
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
 | 
			
		||||
 | 
			
		||||
pkgname=ydotool
 | 
			
		||||
pkgver=0.2.0
 | 
			
		||||
pkgrel=1
 | 
			
		||||
pkgdesc="Generic command-line automation tool (no X!)"
 | 
			
		||||
arch=('x86_64')
 | 
			
		||||
depends=('libevdevplus' 'libuinputplus' 'boost-libs')
 | 
			
		||||
makedepends=('cmake' 'ninja' 'boost' 'scdoc')
 | 
			
		||||
url="https://github.com/ReimuNotMoe/ydotool"
 | 
			
		||||
license=('MIT')
 | 
			
		||||
source=("$url/archive/v$pkgver.tar.gz")
 | 
			
		||||
sha256sums=('2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1')
 | 
			
		||||
 | 
			
		||||
build() {
 | 
			
		||||
  cmake \
 | 
			
		||||
    -DCMAKE_INSTALL_PREFIX=/usr \
 | 
			
		||||
    -DCMAKE_BUILD_TYPE=Release \
 | 
			
		||||
    -DCXXOPTS_ENABLE_INSTALL=OFF \
 | 
			
		||||
    -G Ninja \
 | 
			
		||||
    -S "$pkgname-$pkgver" -B build
 | 
			
		||||
  ninja -C build
 | 
			
		||||
 | 
			
		||||
  scdoc < "$pkgname-$pkgver"/manpage/ydotool.1.scd  > "build/ydotool.1"
 | 
			
		||||
  scdoc < "$pkgname-$pkgver"/manpage/ydotoold.8.scd > "build/ydotoold.8"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
  #TODO: install is broken upstream
 | 
			
		||||
  # DESTDIR="$pkgdir" ninja -C build install
 | 
			
		||||
 | 
			
		||||
  install -Dm755 build/ydotool "$pkgdir/usr/bin/ydotool"
 | 
			
		||||
  install -Dm755 build/ydotoold "$pkgdir/usr/bin/ydotoold"
 | 
			
		||||
 | 
			
		||||
  install -Dm644 build/ydotool.1  "$pkgdir/usr/share/man/man1/ydotool.1"
 | 
			
		||||
  install -Dm644 build/ydotoold.8 "$pkgdir/usr/share/man/man8/ydotoold.8"
 | 
			
		||||
 | 
			
		||||
  install -Dm644 "$pkgname-$pkgver"/Daemon/ydotool.service "$pkgdir/usr/lib/systemd/user/ydotool.service"
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user