Compare commits
2 Commits
36d4a540e1
...
f1c63b013b
Author | SHA1 | Date | |
---|---|---|---|
f1c63b013b | |||
13554b5404 |
32
.gitea/workflows/build-package.yaml
Normal file
32
.gitea/workflows/build-package.yaml
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: Package builder
|
||||
run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
BuildPackage:
|
||||
runs-on: autobuilder
|
||||
container:
|
||||
volumes:
|
||||
- /home/builder/public/spark-extra/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
|
7
PKGBUILD
7
PKGBUILD
|
@ -1,4 +1,4 @@
|
|||
# Maintainer: Bastien Dejean <baskerville@lavabit.com>
|
||||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||
# % Trigger: 1433749514 %
|
||||
|
||||
_pkgname='dmenu-q-xywh-xft'
|
||||
|
@ -14,8 +14,7 @@ makedepends=( 'git' )
|
|||
provides=( 'dmenu' )
|
||||
conflicts=( 'dmenu' )
|
||||
|
||||
source=("git+https://github.com/baskerville/${_pkgname}.git")
|
||||
md5sums=('SKIP')
|
||||
source=( "git+https://github.com/baskerville/${_pkgname}.git" )
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
|
@ -37,3 +36,5 @@ package() {
|
|||
cd "$srcdir/$_pkgname"
|
||||
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
md5sums=( 'SKIP' )
|
||||
|
|
Loading…
Reference in New Issue
Block a user