You've already forked gitea-runner-pkg
							
							Initial Commit
This commit is contained in:
		
							
								
								
									
										7
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					pkg
 | 
				
			||||||
 | 
					src
 | 
				
			||||||
 | 
					act_runner*
 | 
				
			||||||
 | 
					LICENSE
 | 
				
			||||||
 | 
					*.tar.gz
 | 
				
			||||||
 | 
					*.tar.zst
 | 
				
			||||||
 | 
					*.tar.zst.sig
 | 
				
			||||||
							
								
								
									
										44
									
								
								PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								PKGBUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
				
			|||||||
 | 
					# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pkgname=gitea-runner
 | 
				
			||||||
 | 
					_pkgname=act_runner
 | 
				
			||||||
 | 
					pkgver=0.1.0
 | 
				
			||||||
 | 
					pkgrel=1
 | 
				
			||||||
 | 
					pkgdesc='Gitea Runner'
 | 
				
			||||||
 | 
					arch=('arm7h' 'arm64' 'x86_64')
 | 
				
			||||||
 | 
					url=https://gitea.com/gitea/act_runner
 | 
				
			||||||
 | 
					license=('Apache 2.0')
 | 
				
			||||||
 | 
					# makedepends=('go')
 | 
				
			||||||
 | 
					source=(
 | 
				
			||||||
 | 
					  "https://dl.gitea.com/act_runner/main/act_runner-main-linux-amd64"
 | 
				
			||||||
 | 
					  "https://dl.gitea.com/act_runner/main/act_runner-main-linux-arm-7"
 | 
				
			||||||
 | 
					  "https://dl.gitea.com/act_runner/main/act_runner-main-linux-arm64"
 | 
				
			||||||
 | 
					  "https://gitea.com/gitea/act_runner/raw/branch/main/LICENSE"
 | 
				
			||||||
 | 
					  "gitea-runner.service"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sha512sums=('a874f55b784859295d6f3829855fb684ed2744b164c1bff239100ea788e1505a27199f53520589727c7709e78d051c21663e67c7ff16e1657f8c2481bd5fb86f'
 | 
				
			||||||
 | 
					            '83f6b5e7882198f11b635cc8aaa6ad053693c015bce85ae2285c8757d7439e66805a08cf4eb76233b8106e7867ea7459136671306007be9bb48ca9dcfec20b30'
 | 
				
			||||||
 | 
					            '32dc348af8fe6b2c5d86eaa4226c127751a705c810853b9ad3a074c86473d0f2867523428997320bffea2f3202bc6364db8fd7aec45348cd20e447069f2cae21'
 | 
				
			||||||
 | 
					            'bbd5cd3f8aa033d4b0bd1ad7e7e9f0b144130d2ef60eddc408cdbdefe09a51e3e62e3724390ab2c9a0401cace258c362775706954e3e0f30992ff92680e81993'
 | 
				
			||||||
 | 
					            '264b456df0e77e248bf72cd22fa56ef135e38fdc09bdfa1adba27b356ea0183d34d6520411ebe8a88b082116bc2be6769f1a3077798a6ce1a10b9eca0bdcc35f')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package() {
 | 
				
			||||||
 | 
					  case "$(uname -m)" in
 | 
				
			||||||
 | 
					    "x86_64")
 | 
				
			||||||
 | 
					      install -D --mode=0755 "${_pkgname}-main-linux-amd64" "${pkgdir}/usr/bin/${_pkgname}"
 | 
				
			||||||
 | 
					    ;;
 | 
				
			||||||
 | 
					    "arm7" | "arm7h")
 | 
				
			||||||
 | 
					      install -D --mode=0755 "${_pkgname}-main-linux-arm-7" "${pkgdir}/usr/bin/${_pkgname}"
 | 
				
			||||||
 | 
					    ;;
 | 
				
			||||||
 | 
					    "amd64")
 | 
				
			||||||
 | 
					      install -D --mode=0755 "${_pkgname}-main-linux-arm-7" "${pkgdir}/usr/bin/${_pkgname}"
 | 
				
			||||||
 | 
					    ;;
 | 
				
			||||||
 | 
					    *)
 | 
				
			||||||
 | 
					      exit 1
 | 
				
			||||||
 | 
					    ;;
 | 
				
			||||||
 | 
					  esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  install -D --mode=0644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
 | 
				
			||||||
 | 
					  install -D --mode=0644 gitea-runner.service "${pkgdir}/usr/lib/systemd/system/gitea-runner.service"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										9
									
								
								gitea-runner.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								gitea-runner.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					[Unit]
 | 
				
			||||||
 | 
					Description=Gitea Runner
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Service]
 | 
				
			||||||
 | 
					Type=simple
 | 
				
			||||||
 | 
					ExecStart=/usr/bin/act_runner daemon
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Install]
 | 
				
			||||||
 | 
					WantedBy=multi-user.target
 | 
				
			||||||
		Reference in New Issue
	
	Block a user