forked from PKGBUILDs/eudev
Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
a6436aeff4 | |||
c91c2cdadc | |||
220b095c12 | |||
bb82b12e05 | |||
7362e9f908 | |||
aabab072c4 | |||
7eb9f9d71e | |||
3937e4d5fb | |||
2c06afd94d | |||
a9a9ba914f | |||
f01baab207 | |||
9786a1ab40 | |||
7ac82fe611 | |||
738a9bbb76 | |||
f03f39904f | |||
d130f5c27e | |||
5fbd8f26dc | |||
8d2bad6743 | |||
71330c4de7 | |||
d7c4b6b72a |
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
|
20
PKGBUILD
20
PKGBUILD
|
@ -3,22 +3,20 @@
|
|||
# Contributor: Alexey D. <lq07829icatm@rambler.ru>
|
||||
# Contributor: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
_udev_ver=239
|
||||
_udev_ver=247
|
||||
|
||||
pkgname=('eudev' 'libeudev')
|
||||
pkgver=3.2.8
|
||||
pkgrel=1
|
||||
pkgver=3.2.14
|
||||
pkgrel=2
|
||||
pkgdesc="The userspace dev tools (udev) forked by Gentoo"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/gentoo/eudev"
|
||||
url="https://github.com/eudev-project/eudev"
|
||||
license=('GPL')
|
||||
makedepends=('gobject-introspection' 'gperf' 'gtk-doc' 'intltool' 'kmod')
|
||||
options=( '!libtool' '!staticlibs')
|
||||
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz"
|
||||
'initcpio_hooks'
|
||||
'initcpio_install'
|
||||
'udev-hwdb.hook'
|
||||
)
|
||||
|
||||
|
@ -54,7 +52,7 @@ package_eudev() {
|
|||
depends=(
|
||||
'kbd'
|
||||
'kmod'
|
||||
'hwids'
|
||||
'hwinfo'
|
||||
'util-linux'
|
||||
'libeudev'
|
||||
)
|
||||
|
@ -68,8 +66,6 @@ package_eudev() {
|
|||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# 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"
|
||||
|
||||
# Make network interface name randomization be optional, not the default
|
||||
|
@ -84,7 +80,7 @@ package_eudev() {
|
|||
package_libeudev() {
|
||||
pkgdesc="eudev client libraries"
|
||||
depends=( 'glibc' 'glib2' )
|
||||
conflicts=( 'libudev.so' )
|
||||
# conflicts=( 'libudev.so' )
|
||||
provides=(
|
||||
"libudev=$_udev_ver"
|
||||
'libudev.so'
|
||||
|
@ -94,7 +90,5 @@ package_libeudev() {
|
|||
make -C src/libudev DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha1sums=('1cf0ed7275d631ade61df671644e617848a1de0a'
|
||||
'defa489254f38e57723a8ff70654f29e47bd448a'
|
||||
'a6a6ee5c751fb92e2c79e0a297e4c318c8f6bb75'
|
||||
sha1sums=('8cc76f20d73cae6dde49daa06c6a2bcd059b72b0'
|
||||
'6cdf611d37604062ae4c380307421cef6fde445d')
|
||||
|
|
Loading…
Reference in New Issue
Block a user