Compare commits

...

13 Commits

Author SHA1 Message Date
fbt
4ec858dc0f checksums
All checks were successful
Package builder / BuildPackage (push) Successful in 46s
Signed-off-by: fbt <fbt@fleshless.org>
2024-10-14 20:13:59 +00:00
fbt
afd3b9dc0b v++
Some checks failed
Package builder / BuildPackage (push) Failing after 49s
Signed-off-by: fbt <fbt@fleshless.org>
2024-10-14 20:10:23 +00:00
fbt
95e108c0f5 v++
Some checks failed
Package builder / BuildPackage (push) Failing after 10m23s
Signed-off-by: fbt <fbt@fleshless.org>
2024-04-06 08:33:30 +00:00
fbt
2a30e8e8ee hashes
All checks were successful
Package builder / BuildPackage (push) Successful in 1m5s
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-25 23:30:05 +00:00
fbt
8ffff2f1ba Actions, v++
Some checks failed
Package builder / BuildPackage (push) Failing after 37s
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-25 23:29:13 +00:00
fbt
ded2106168 v++
Signed-off-by: fbt <fbt@fleshless.org>
2022-11-24 15:07:55 +00:00
fbt
1a7ec1b896 7.1
Signed-off-by: fbt <fbt@fleshless.org>
2022-04-22 07:10:07 +00:00
fbt
578547bd40 v++
Signed-off-by: fbt <fbt@fleshless.org>
2022-02-11 02:48:41 +03:00
fbt
cc88171f6d v++
Signed-off-by: fbt <fbt@fleshless.org>
2020-10-26 08:56:52 +03:00
fbt
b57b1844fd Uses lolibc now
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-24 03:27:50 +03:00
fbt
b41388e851 rel
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-23 15:18:01 +03:00
fbt
a18462f84c wrong bindir
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-23 15:10:01 +03:00
fbt
ea3b3f5297 makedeps
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-23 15:02:14 +03:00
2 changed files with 39 additions and 15 deletions

View 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

View File

@@ -1,40 +1,32 @@
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='loksh'
pkgver='6.7.1'
pkgver='7.6'
pkgrel=1
pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
arch=( 'i686' 'x86_64' )
url='https://github.com/dimkr/loksh'
license=( 'custom' )
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/src.tar.xz" )
#_flag_static=1
if (( _flag_static )); then
makedepends+=( 'musl' )
_makeopts=( 'CC=musl-gcc' 'LDFLAGS=-static' )
else
depends=( 'libbsd' )
_makeopts=( 'LDFLAGS=-lbsd' )
fi
makedepends=( 'meson' )
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/loksh-$pkgver.tar.xz" )
build() {
cd "$pkgname"
cd "$pkgname-$pkgver"
meson --prefix=/ \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--datadir=/usr/share \
--localstatedir=/var \
--buildtype=plain \
--bindir=/bin \
--bindir=/usr/bin \
. output
ninja -C output
}
package() {
cd "$pkgname"
cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" ninja -C output install
}
sha1sums=('fc5f081423fcb922d02e97b733e4b45c8a359eb2')
sha1sums=('19c46203f1cc9c7baa8b86f8cb76130011d2a047')