Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

2 changed files with 13 additions and 39 deletions

View File

@ -1,32 +0,0 @@
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

@ -3,20 +3,22 @@
# Contributor: Alexey D. <lq07829icatm@rambler.ru> # Contributor: Alexey D. <lq07829icatm@rambler.ru>
# Contributor: Ivailo Monev <xakepa10@gmail.com> # Contributor: Ivailo Monev <xakepa10@gmail.com>
_udev_ver=247 _udev_ver=239
pkgname=('eudev' 'libeudev') pkgname=('eudev' 'libeudev')
pkgver=3.2.14 pkgver=3.2.8
pkgrel=2 pkgrel=1
pkgdesc="The userspace dev tools (udev) forked by Gentoo" pkgdesc="The userspace dev tools (udev) forked by Gentoo"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://github.com/eudev-project/eudev" url="https://github.com/gentoo/eudev"
license=('GPL') license=('GPL')
makedepends=('gobject-introspection' 'gperf' 'gtk-doc' 'intltool' 'kmod') makedepends=('gobject-introspection' 'gperf' 'gtk-doc' 'intltool' 'kmod')
options=( '!libtool' '!staticlibs') options=( '!libtool' '!staticlibs')
source=( source=(
"$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz" "$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz"
'initcpio_hooks'
'initcpio_install'
'udev-hwdb.hook' 'udev-hwdb.hook'
) )
@ -52,7 +54,7 @@ package_eudev() {
depends=( depends=(
'kbd' 'kbd'
'kmod' 'kmod'
'hwinfo' 'hwids'
'util-linux' 'util-linux'
'libeudev' 'libeudev'
) )
@ -66,6 +68,8 @@ package_eudev() {
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# initramfs hooks # initramfs hooks
install -Dm644 "$srcdir/initcpio_hooks" "$pkgdir/usr/lib/initcpio/hooks/udev"
install -Dm644 "$srcdir/initcpio_install" "$pkgdir/usr/lib/initcpio/install/udev"
install -Dm644 "$srcdir/udev-hwdb.hook" "$pkgdir/usr/share/libalpm/hooks/udev-hwdb.hook" install -Dm644 "$srcdir/udev-hwdb.hook" "$pkgdir/usr/share/libalpm/hooks/udev-hwdb.hook"
# Make network interface name randomization be optional, not the default # Make network interface name randomization be optional, not the default
@ -80,7 +84,7 @@ package_eudev() {
package_libeudev() { package_libeudev() {
pkgdesc="eudev client libraries" pkgdesc="eudev client libraries"
depends=( 'glibc' 'glib2' ) depends=( 'glibc' 'glib2' )
# conflicts=( 'libudev.so' ) conflicts=( 'libudev.so' )
provides=( provides=(
"libudev=$_udev_ver" "libudev=$_udev_ver"
'libudev.so' 'libudev.so'
@ -90,5 +94,7 @@ package_libeudev() {
make -C src/libudev DESTDIR="$pkgdir" install make -C src/libudev DESTDIR="$pkgdir" install
} }
sha1sums=('8cc76f20d73cae6dde49daa06c6a2bcd059b72b0' sha1sums=('1cf0ed7275d631ade61df671644e617848a1de0a'
'defa489254f38e57723a8ff70654f29e47bd448a'
'a6a6ee5c751fb92e2c79e0a297e4c318c8f6bb75'
'6cdf611d37604062ae4c380307421cef6fde445d') '6cdf611d37604062ae4c380307421cef6fde445d')