Compare commits
	
		
			8 Commits
		
	
	
		
			b6a221c0c2
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9f740dd137 | |||
| 77b5b65f16 | |||
| 1c1fe044f9 | |||
| 8af9cb81f7 | |||
| d53eb95539 | |||
| 0af4691486 | |||
| cb28873699 | |||
| cb490fd061 | 
							
								
								
									
										33
									
								
								.gitea/workflows/build-package.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.gitea/workflows/build-package.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
				
			|||||||
 | 
					name: Package builder
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  BuildPackage:
 | 
				
			||||||
 | 
					    runs-on: autobuilder
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      volumes:
 | 
				
			||||||
 | 
					        - /home/builder/public/spark/import:/import
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Show job info
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
 | 
				
			||||||
 | 
					          echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
 | 
				
			||||||
 | 
					          echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
 | 
				
			||||||
 | 
					      - name: Check out repository code
 | 
				
			||||||
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: Link the workdir into /buildroot # for script compatability with the old builder.
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          ln -vfs ${{ gitea.workspace }} /buildroot
 | 
				
			||||||
 | 
					      - name: Build the package
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          cd ${{ gitea.workspace }}
 | 
				
			||||||
 | 
					          /build -s --noconfirm
 | 
				
			||||||
 | 
					#      - name: Upload artifacts
 | 
				
			||||||
 | 
					#        uses: actions/upload-artifact@v3
 | 
				
			||||||
 | 
					#        with:
 | 
				
			||||||
 | 
					#          name: package
 | 
				
			||||||
 | 
					#          path: ./*.pkg.tar.zst
 | 
				
			||||||
 | 
					      - name: Put the packages into the import dir
 | 
				
			||||||
 | 
					        run: cp -v ./*.pkg.tar.zst /import
 | 
				
			||||||
 | 
					      - run: echo "This job's status is ${{ job.status }}."
 | 
				
			||||||
							
								
								
									
										13
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -4,13 +4,13 @@
 | 
				
			|||||||
pkgname='spark-rc'
 | 
					pkgname='spark-rc'
 | 
				
			||||||
pkgdesc='A simple rc script'
 | 
					pkgdesc='A simple rc script'
 | 
				
			||||||
license=( 'BSD' )
 | 
					license=( 'BSD' )
 | 
				
			||||||
pkgver=1.12.1
 | 
					pkgver=1.12.2
 | 
				
			||||||
pkgrel=2
 | 
					pkgrel=4
 | 
				
			||||||
arch=( 'any' )
 | 
					arch=( 'any' )
 | 
				
			||||||
url='https://code.fleshless.org/Spark/spark-rc'
 | 
					url='https://code.fleshless.org/Spark/spark-rc'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
depends=( halt-ubase-git )
 | 
					depends=( 'halt-ubase-git' 'inetutils' 'killall5-ubase-git' )
 | 
				
			||||||
conflicts=( sysvinit-tools-adds )
 | 
					conflicts=( 'sysvinit-tools-adds' )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
backup=( 'etc/rc.conf' )
 | 
					backup=( 'etc/rc.conf' )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -24,7 +24,8 @@ build() {
 | 
				
			|||||||
package() {
 | 
					package() {
 | 
				
			||||||
	cd "${srcdir}/${pkgname}"
 | 
						cd "${srcdir}/${pkgname}"
 | 
				
			||||||
	make USR=/usr DESTDIR="$pkgdir" install
 | 
						make USR=/usr DESTDIR="$pkgdir" install
 | 
				
			||||||
	rm "$pkgdir/usr/bin/killall5"
 | 
					
 | 
				
			||||||
 | 
						rm -v "$pkgdir/usr/bin/killall5"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sha1sums=('05ff6e30aedc5c71e11dc5d8156f81a766f458ba')
 | 
					sha1sums=('1597fa8ae438a1d3f84a6d6c43369054fd4c8bfa')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user